13
0

ace-fluidsynth: fix free_path initialization in save

This commit is contained in:
Stefan Westerfeld 2023-04-20 16:07:21 +02:00 committed by Robin Gareus
parent 3364fdd9f3
commit 55dc3113f3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -858,6 +858,11 @@ save (LV2_Handle instance,
if (!strcmp (features[i]->URI, LV2_STATE__mapPath)) { if (!strcmp (features[i]->URI, LV2_STATE__mapPath)) {
map_path = (LV2_State_Map_Path*)features[i]->data; 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) { if (!map_path) {