diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc index f180bee8f0..a3c23dde80 100644 --- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc +++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc @@ -581,7 +581,8 @@ run (LV2_Handle instance, uint32_t n_samples) inform_ui (self); #ifdef LV2_EXTENDED - self->midnam->update (self->midnam->handle); + if (self->midnam) + self->midnam->update (self->midnam->handle); #endif }