[vlc-devel] commit: darwin_specific: put psz_vlcpath to null after it being freed. ( Jean-Paul Saman )

git version control git at videolan.org
Thu Feb 19 18:23:02 CET 2009


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Tue Feb 17 20:59:14 2009 +0100| [63cedb8d9b7235aef2d178f2b2bce369d5eeea47] | committer: Jean-Paul Saman 

darwin_specific: put psz_vlcpath to null after it being freed.

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

 src/misc/darwin_specific.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/misc/darwin_specific.c b/src/misc/darwin_specific.c
index f47ddbf..b33b3bb 100644
--- a/src/misc/darwin_specific.c
+++ b/src/misc/darwin_specific.c
@@ -157,5 +157,6 @@ void system_End( libvlc_int_t *p_this )
 {
     (void)p_this;
     free( psz_vlcpath );
+    psz_vlcpath = NULL;
 }
 




More information about the vlc-devel mailing list