summaryrefslogtreecommitdiff
path: root/libs/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugins')
-rw-r--r--libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc3
1 files changed, 2 insertions, 1 deletions
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
}