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

access_pvr: really fix the potential memleak.

parent f4999335
......@@ -580,6 +580,8 @@ static int Open( vlc_object_t * p_this )
psz_tofree = strdup( p_access->psz_path );
if( !psz_tofree )
{
free( p_sys->psz_radiodev );
free( p_sys->psz_videodev );
free( p_sys );
return VLC_ENOMEM;
}
......
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