[vlc-commits] skins2: fix memory leak
Erwan Tulou
git at videolan.org
Sat Feb 9 09:33:34 CET 2013
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | 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
{
More information about the vlc-commits
mailing list