Commit 0f209a2e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Remove the callbacks from the deleted input item.

parent 65ae2bcd
...@@ -213,6 +213,7 @@ int playlist_ItemRelease( playlist_item_t *p_item ) ...@@ -213,6 +213,7 @@ int playlist_ItemRelease( playlist_item_t *p_item )
* Most of the modules does that. * Most of the modules does that.
* *
* Who wants to add proper memory management? */ * Who wants to add proper memory management? */
uninstall_input_item_observer( p_item );
ARRAY_APPEND( p_item->p_playlist->items_to_delete, p_item); ARRAY_APPEND( p_item->p_playlist->items_to_delete, p_item);
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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