Commit e5e2bd38 authored by Rémi Duraffort's avatar Rémi Duraffort

vcdx: fix potential memleak.

parent a41fd3f8
...@@ -980,6 +980,7 @@ VCDOpen ( vlc_object_t *p_this ) ...@@ -980,6 +980,7 @@ VCDOpen ( vlc_object_t *p_this )
err_exit: err_exit:
if( p_vcdplayer->p_input ) vlc_object_release( p_vcdplayer->p_input ); if( p_vcdplayer->p_input ) vlc_object_release( p_vcdplayer->p_input );
free( psz_source ); free( psz_source );
free( p_vcdplayer->psz_source );
free( p_vcdplayer ); free( p_vcdplayer );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment