Sfoglia il codice sorgente

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

Pierre d'Herbemont 16 anni fa
parent
commit
495cb99f8b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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];