[vlc-commits] qt4: fix memory leak

Erwan Tulou git at videolan.org
Mon Sep 12 11:27:09 CEST 2011


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Sep 10 10:06:53 2011 +0200| [3ae6eda8af8ec03f79191606c5da41dcb138e94e] | committer: Erwan Tulou

qt4: fix memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3ae6eda8af8ec03f79191606c5da41dcb138e94e
---

 modules/gui/qt4/components/extended_panels.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 6ece0b6..491c7bc 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -342,6 +342,7 @@ static void ChangeVFiltersString( struct intf_thread_t *p_intf, const char *psz_
         }
         else
         {
+            free( psz_string );
             return;
         }
     }



More information about the vlc-commits mailing list