growl: fix memleak.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 16 Jul 2009 06:50:59 +0000 (08:50 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 16 Jul 2009 06:50:59 +0000 (08:50 +0200)
modules/misc/notify/growl.m

index 95ad205..68e2754 100644 (file)
@@ -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;