Prevent dereference after null check warning by Coverity

This commit is contained in:
twinaphex 2017-08-05 16:42:28 +02:00
parent 2aa095aa4b
commit 32234b44d3

View File

@ -522,7 +522,8 @@ static bool audio_mixer_play_mod(
error:
if (mod_buffer)
memalign_free(mod_buffer);
dispose_module(module);
if (module)
dispose_module(module);
return false;
}