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

git version control git at videolan.org
Thu Jul 16 12:01:20 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 16 08:50:59 2009 +0200| [126d1d4d5bf9af8a6ffc7a27dfe2c51ad6a4acb9] | committer: Rémi Duraffort 

growl: fix memleak.
(cherry picked from commit 37e54c44dfc98e68af5afb2abaaba497035df861)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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