Commit b990bc71 authored by Erwan Tulou's avatar Erwan Tulou

skins2: fix memory leak

parent af7899e8
...@@ -127,6 +127,11 @@ void Playtree::onUpdateItem( int id ) ...@@ -127,6 +127,11 @@ void Playtree::onUpdateItem( int id )
tree_update::ItemUpdated, IteratorVisible( it, this ) ); tree_update::ItemUpdated, IteratorVisible( it, this ) );
notify( &descr ); notify( &descr );
} }
else
{
delete pName;
}
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment