MacOSX/Framework/VLCMediaListAspect.m: Don't release a media_list when it is a media_...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 Nov 2007 12:30:20 +0000 (12:30 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 Nov 2007 12:30:20 +0000 (12:30 +0000)
extras/MacOSX/Framework/Sources/VLCMediaListAspect.m

index 230115b..c5b667e 100644 (file)
@@ -77,7 +77,7 @@ static void HandleMediaListViewWillDeleteItem(const libvlc_event_t *event, void
 - (void)dealloc
 {
     // Release allocated memory
-    libvlc_media_list_release(p_mlv);
+    libvlc_media_list_view_release(p_mlv);
     
     [super dealloc];
 }