darwin_specific: put psz_vlcpath to null after it being freed.
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 17 Feb 2009 19:59:14 +0000 (20:59 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 19 Feb 2009 17:22:53 +0000 (18:22 +0100)
src/misc/darwin_specific.c

index f47ddbf..b33b3bb 100644 (file)
@@ -157,5 +157,6 @@ void system_End( libvlc_int_t *p_this )
 {
     (void)p_this;
     free( psz_vlcpath );
 {
     (void)p_this;
     free( psz_vlcpath );
+    psz_vlcpath = NULL;
 }
 
 }