]> git.sesse.net Git - vlc/commitdiff
FIx potential memleak (CID 217)
authorRémi Duraffort <ivoire@videolan.org>
Sun, 5 Oct 2008 17:28:52 +0000 (19:28 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 5 Oct 2008 17:28:52 +0000 (19:28 +0200)
modules/misc/notify/notify.c

index 8879b0878c2d11c8f38367d161ec7481861af621..e76903a490d4d54c9f50e51047244594f343cf9b 100644 (file)
@@ -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;
     }