Commit 008b32b1 authored by Rafaël Carré's avatar Rafaël Carré

Do not leak

parent 62126df6
...@@ -588,7 +588,7 @@ void PLModel::rebuild( playlist_item_t *p_root ) ...@@ -588,7 +588,7 @@ void PLModel::rebuild( playlist_item_t *p_root )
} }
if( p_root ) if( p_root )
{ {
//if( rootItem ) delete rootItem; delete rootItem;
rootItem = new PLItem( p_root, NULL, this ); rootItem = new PLItem( p_root, NULL, this );
} }
assert( rootItem ); assert( rootItem );
......
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