]> git.sesse.net Git - vlc/commitdiff
macosx: Attempt to fix a crash in update code.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 10 Aug 2008 18:45:41 +0000 (20:45 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 10 Aug 2008 18:45:41 +0000 (20:45 +0200)
(coming from apple-bugreport ml).

modules/gui/macosx/update.m

index ef195d92e11ee3e64a2b6eb04170304b05b092f2..4346af3b09893fa7658a21cb4cc80ca28122b53e 100644 (file)
@@ -219,6 +219,7 @@ static void updateCallback( void * p_data, bool b_success )
     [o_btn_DownloadNow setEnabled: NO];
     [o_update_window orderOut: self];
     update_Delete( p_u );
+    p_u = nil;
 }
 
 @end