[vlc-devel] commit: macosx: Attempt to fix a crash in update code. (Pierre d'Herbemont )

git version control git at videolan.org
Sun Aug 10 20:42:52 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Aug 10 20:45:41 2008 +0200| [53aef42d0f9c863cf6f523c6d7b6f7c20ccdeace] | committer: Pierre d'Herbemont 

macosx: Attempt to fix a crash in update code.

(coming from apple-bugreport ml).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53aef42d0f9c863cf6f523c6d7b6f7c20ccdeace
---

 modules/gui/macosx/update.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/update.m b/modules/gui/macosx/update.m
index ef195d9..4346af3 100644
--- a/modules/gui/macosx/update.m
+++ b/modules/gui/macosx/update.m
@@ -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




More information about the vlc-devel mailing list