]> git.sesse.net Git - vlc/commitdiff
qt4: fix memory leak
authorErwan Tulou <erwan10@videolan.org>
Sat, 10 Sep 2011 08:06:53 +0000 (10:06 +0200)
committerErwan Tulou <erwan10@videolan.org>
Mon, 12 Sep 2011 09:23:50 +0000 (11:23 +0200)
modules/gui/qt4/components/extended_panels.cpp

index 6ece0b684de6806187d22e4935d96488125f63f0..491c7bc7b01b020902b0da3823ef908ecd7744fa 100644 (file)
@@ -342,6 +342,7 @@ static void ChangeVFiltersString( struct intf_thread_t *p_intf, const char *psz_
         }
         else
         {
+            free( psz_string );
             return;
         }
     }