Commit a5b2b256 authored by Antoine Cellerier's avatar Antoine Cellerier

item-ext.c: detach from all parent nodes (fixed)

parent 9c90fd45
...@@ -909,7 +909,7 @@ int playlist_TreeMove( playlist_t * p_playlist, playlist_item_t *p_item, ...@@ -909,7 +909,7 @@ int playlist_TreeMove( playlist_t * p_playlist, playlist_item_t *p_item,
p_detach->i_serial++; p_detach->i_serial++;
free( p_item->pp_parents[i] ); free( p_item->pp_parents[i] );
REMOVE_ELEM( p_item->pp_parents, p_item->i_parents, i ); REMOVE_ELEM( p_item->pp_parents, p_item->i_parents, i );
break; i--;
} }
} }
......
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