Commit dab68fbb authored by Rafaël Carré's avatar Rafaël Carré

Fix double free introduced in [b9da1de8]

parent 8d3c9990
...@@ -175,7 +175,6 @@ int playlist_ViewUpdate( playlist_t *p_playlist, int i_view) ...@@ -175,7 +175,6 @@ int playlist_ViewUpdate( playlist_t *p_playlist, int i_view)
if( i_view == VIEW_ALL ) if( i_view == VIEW_ALL )
{ {
p_view->p_root->i_children = p_playlist->i_size; p_view->p_root->i_children = p_playlist->i_size;
free( p_view->p_root->pp_children );
p_view->p_root->pp_children = p_playlist->pp_items; p_view->p_root->pp_children = p_playlist->pp_items;
} }
......
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