Rework this code

This commit is contained in:
twinaphex 2016-08-23 20:12:37 +02:00
parent 1b44f44822
commit db36b40b20

View File

@ -365,10 +365,14 @@ end:
free(avg_filtered);
free(paeth_filtered);
#if !defined(VITA)
if (stream_backend)
stream_backend->stream_free(stream);
#endif
{
if (stream)
{
if (stream_backend->stream_free)
stream_backend->stream_free(stream);
}
}
return ret;
}