]> git.sesse.net Git - vlc/commitdiff
Fix potential object leak.
authorRémi Duraffort <ivoire@videolan.org>
Sat, 10 Oct 2009 10:01:31 +0000 (12:01 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 10 Oct 2009 10:01:31 +0000 (12:01 +0200)
modules/demux/mp4/mp4.c

index 028f45b253ed0499240cc70b0614c2a4d739599d..43539125feacb9829b5b7e204f097f8acea0169e 100644 (file)
@@ -408,6 +408,7 @@ static int Open( vlc_object_t * p_this )
                     {
                         free( psz_ref );
                         free( psz_path );
+                        vlc_object_release( p_input) ;
                         return VLC_ENOMEM;
                     }