vlc | branch: master | Erwan Tulou <[email protected]> | Sat Feb  9 09:18:36 
2013 +0100| [b990bc7105c41a2d7e44bf88917326d2a05208fe] | committer: Erwan Tulou

skins2: fix memory leak

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

 modules/gui/skins2/vars/playtree.cpp |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/gui/skins2/vars/playtree.cpp 
b/modules/gui/skins2/vars/playtree.cpp
index 7a2655c..75ebf9e 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -127,6 +127,11 @@ void Playtree::onUpdateItem( int id )
                 tree_update::ItemUpdated, IteratorVisible( it, this ) );
             notify( &descr );
         }
+        else
+        {
+            delete pName;
+        }
+
     }
     else
     {

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to