Fix Coverity warning

This commit is contained in:
twinaphex 2018-05-29 22:01:05 +02:00
parent b1ec722a75
commit a3a047b8ec
1 changed files with 2 additions and 1 deletions

View File

@ -673,7 +673,8 @@ static bool audio_mixer_play_flac(
if (!flac_buffer)
{
resamp->free(resampler_data);
if (resamp && resamp->free)
resamp->free(resampler_data);
goto error;
}