Parcourir la source

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

Pierre d'Herbemont il y a 16 ans
Parent
commit
495cb99f8b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Sources/VLCMediaListPlayer.m

+ 1 - 0
Sources/VLCMediaListPlayer.m

@@ -31,6 +31,7 @@
 
 - (void)dealloc
 {
+    libvlc_media_list_player_release(instance);
     [_mediaPlayer release];
     [_rootMedia release];
     [super dealloc];