Commit 2668df5e authored by Rémi Duraffort's avatar Rémi Duraffort

access_mmsh: fix memleak.

parent 3484d8f0
......@@ -428,6 +428,8 @@ static int Restart( access_t *p_access )
msg_Err( p_access, "describe failed" );
return VLC_EGENERIC;
}
free( psz_location );
/* */
if( Start( p_access, 0 ) )
{
......@@ -672,6 +674,7 @@ static int Describe( access_t *p_access, char **ppsz_location )
*ppsz_location = psz_location;
return VLC_SUCCESS;
}
free( psz_location );
/* Read the asf header */
GetHeader( p_access );
......
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