Selaa lähdekoodia

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

Pierre d'Herbemont 16 vuotta sitten
vanhempi
commit
495cb99f8b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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];