Logical error resulting dereferencing of NULL

Signed-off-by: Surabhi <surabhi.m@samsung.com>
This commit is contained in:
surabhi.m 2015-09-22 10:40:05 +05:30 committed by derselbst
parent 0edbe06621
commit 666ccb4c83
1 changed files with 1 additions and 1 deletions

View File

@ -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,