Commit 54a72cc1 authored by Rémi Duraffort's avatar Rémi Duraffort

sap: fix memleak.

parent 1b5c7c2f
......@@ -1491,6 +1491,7 @@ static int Decompress( const unsigned char *psz_src, unsigned char **_dst, int i
if( ( i_result != Z_OK ) && ( i_result != Z_STREAM_END ) )
{
inflateEnd( &d_stream );
free( psz_dst );
return( -1 );
}
}
......
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