From 55dc3113f306e779d02194006d1441b67e13b3b4 Mon Sep 17 00:00:00 2001 From: Stefan Westerfeld Date: Thu, 20 Apr 2023 16:07:21 +0200 Subject: [PATCH] ace-fluidsynth: fix free_path initialization in save --- libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc index 8fd22a7b2a..1b38078e79 100644 --- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc +++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc @@ -858,6 +858,11 @@ save (LV2_Handle instance, if (!strcmp (features[i]->URI, LV2_STATE__mapPath)) { map_path = (LV2_State_Map_Path*)features[i]->data; } +#ifdef LV2_STATE__freePath + else if (!strcmp (features[i]->URI, LV2_STATE__freePath)) { + free_path = (LV2_State_Free_Path*)features[i]->data; + } +#endif } if (!map_path) {