[vlc-devel] commit: macosx/framework: VLCMediaListPlayer, don't leak the instance. ( Pierre d'Herbemont )

git version control git at videolan.org
Tue Aug 25 03:42:25 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Tue Aug 25 03:41:26 2009 +0200| [f364cfb4bf8e85e51d534129866df29cee236ec4] | committer: Pierre d'Herbemont 

macosx/framework: VLCMediaListPlayer, don't leak the instance.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f364cfb4bf8e85e51d534129866df29cee236ec4
---

 .../macosx/framework/Sources/VLCMediaListPlayer.m  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCMediaListPlayer.m b/projects/macosx/framework/Sources/VLCMediaListPlayer.m
index b35855e..14be70d 100644
--- a/projects/macosx/framework/Sources/VLCMediaListPlayer.m
+++ b/projects/macosx/framework/Sources/VLCMediaListPlayer.m
@@ -31,6 +31,7 @@
 
 - (void)dealloc
 {
+    libvlc_media_list_player_release(instance);
     [_mediaPlayer release];
     [_rootMedia release];
     [super dealloc];




More information about the vlc-devel mailing list