mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-04 01:51:06 +00:00
Logical error resulting dereferencing of NULL
Signed-off-by: Surabhi <surabhi.m@samsung.com>
This commit is contained in:
parent
0edbe06621
commit
666ccb4c83
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ static FLUID_INLINE void
|
|||
fluid_synth_update_mixer(fluid_synth_t* synth, void* method, int intparam,
|
||||
fluid_real_t realparam)
|
||||
{
|
||||
fluid_return_if_fail(synth != NULL || synth->eventhandler != NULL);
|
||||
fluid_return_if_fail(synth != NULL && synth->eventhandler != NULL);
|
||||
fluid_return_if_fail(synth->eventhandler->mixer != NULL);
|
||||
fluid_rvoice_eventhandler_push(synth->eventhandler, method,
|
||||
synth->eventhandler->mixer,
|
||||
|
|
Loading…
Reference in a new issue