[vlc-devel] commit: playlist: Remove the callbacks from the deleted input item. ( Pierre d'Herbemont )
git version control
git at videolan.org
Wed Aug 13 00:54:36 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 00:16:34 2008 +0200| [0f209a2e27466314954c838cfa38a4a9fd23bf6a] | committer: Pierre d'Herbemont
playlist: Remove the callbacks from the deleted input item.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f209a2e27466314954c838cfa38a4a9fd23bf6a
---
src/playlist/item.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index 7ad73db..723e155 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -213,6 +213,7 @@ int playlist_ItemRelease( playlist_item_t *p_item )
* Most of the modules does that.
*
* Who wants to add proper memory management? */
+ uninstall_input_item_observer( p_item );
ARRAY_APPEND( p_item->p_playlist->items_to_delete, p_item);
return VLC_SUCCESS;
}
More information about the vlc-devel
mailing list