From d45b2b0b2d7b9c56036fb6410150d8109a690634 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Thu, 31 Jul 2008 19:27:53 +0200 Subject: [PATCH] Don't mix up malloc and delete. --- modules/video_filter/atmo/atmo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_filter/atmo/atmo.cpp b/modules/video_filter/atmo/atmo.cpp index 77e63aea84..10f728c8c0 100644 --- a/modules/video_filter/atmo/atmo.cpp +++ b/modules/video_filter/atmo/atmo.cpp @@ -1176,7 +1176,7 @@ static void Atmo_SetupParameters(filter_t *p_filter) "error %d",psz_gradient_file,i_res); } } - delete psz_gradient_file; + free( psz_gradient_file ); } p_sys->p_atmo_dyndata = new CAtmoDynData((vlc_object_t *)p_filter, -- 2.39.2