]> git.sesse.net Git - vlc/commitdiff
Don't mix up malloc and delete.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 31 Jul 2008 17:27:53 +0000 (19:27 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 31 Jul 2008 17:27:53 +0000 (19:27 +0200)
modules/video_filter/atmo/atmo.cpp

index 77e63aea84c9e2792fe92245b46bce124fb0d249..10f728c8c0a22631039c4b67e547039a6d3a93aa 100644 (file)
@@ -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,