[vlc-devel] commit: growl: fix memleak. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 16 08:58:52 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 16 08:50:59 2009 +0200| [37e54c44dfc98e68af5afb2abaaba497035df861] | committer: Rémi Duraffort 

growl: fix memleak.

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

 modules/misc/notify/growl.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/misc/notify/growl.m b/modules/misc/notify/growl.m
index 95ad205..68e2754 100644
--- a/modules/misc/notify/growl.m
+++ b/modules/misc/notify/growl.m
@@ -222,6 +222,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     NotifyToGrowl( p_intf, psz_tmp, art );
 
     if( art ) CFRelease( art );
+    free( psz_tmp );
 
     vlc_object_release( p_input );
     return VLC_SUCCESS;




More information about the vlc-devel mailing list