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

zipstream: fix potential memleak.

parent 03d464d6
......@@ -424,7 +424,8 @@ static int GetFilesInZip( stream_t *p_this, unzFile file,
if( !p_fileInfo || !psz_fileName )
{
msg_Warn( p_this, "not enough memory" );
free( psz_fileName );
free( p_fileInfo );
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