Fix Coverity warning
This commit is contained in:
parent
b1ec722a75
commit
a3a047b8ec
|
@ -673,7 +673,8 @@ static bool audio_mixer_play_flac(
|
||||||
|
|
||||||
if (!flac_buffer)
|
if (!flac_buffer)
|
||||||
{
|
{
|
||||||
resamp->free(resampler_data);
|
if (resamp && resamp->free)
|
||||||
|
resamp->free(resampler_data);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue