[vlc-devel] commit: FIx potential memleak (CID 217) ( Rémi Duraffort )
git version control
git at videolan.org
Sun Oct 5 19:30:02 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 5 19:28:52 2008 +0200| [888c97bb2a47ba061b6feb78afd6c3fc74fdbdf6] | committer: Rémi Duraffort
FIx potential memleak (CID 217)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=888c97bb2a47ba061b6feb78afd6c3fc74fdbdf6
---
modules/misc/notify/notify.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/misc/notify/notify.c b/modules/misc/notify/notify.c
index 8879b08..e76903a 100644
--- a/modules/misc/notify/notify.c
+++ b/modules/misc/notify/notify.c
@@ -94,6 +94,7 @@ static int Open( vlc_object_t *p_this )
if( !notify_init( APPLICATION_NAME ) )
{
+ free( p_sys );
msg_Err( p_intf, "can't find notification daemon" );
return VLC_EGENERIC;
}
More information about the vlc-devel
mailing list