[vlc-devel] commit: qt4: fix a memleak. ( Rémi Duraffort )

git version control git at videolan.org
Tue Apr 28 13:14:36 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Apr 28 13:14:04 2009 +0200| [b7f3143019468f908454a09fd8d10e924cc25126] | committer: Rémi Duraffort 

qt4: fix a memleak.

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

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

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 0548406..6948129 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -510,6 +510,8 @@ NetOpenPanel::~NetOpenPanel()
     while( tempL.size() > 8 ) tempL.removeFirst();
 
     getSettings()->setValue( "Open/netMRL", tempL );
+
+    delete mrlList;
 }
 
 void NetOpenPanel::clear()




More information about the vlc-devel mailing list