diff options
author | Robin Gareus <robin@gareus.org> | 2020-01-06 16:59:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-01-06 16:59:14 +0100 |
commit | 64b43a6b95557610b5126fa14844849e30c4239c (patch) | |
tree | 9ba5df9c6c408cc088d8a2da61ce0b2538ff4ebc | |
parent | 2afef6e4bde3b1549d03f936faca0e84bcab7282 (diff) |
Fix windows fallback for LV2 state:freePath feature
-rw-r--r-- | libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc index 9890317a43..cc656b56c1 100644 --- a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc +++ b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc @@ -751,11 +751,11 @@ save (LV2_Handle instance, free_path->free_path (free_path->handle, apath); } else #endif -#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14 { +#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14 free (apath); - } #endif + } return LV2_STATE_SUCCESS; } @@ -808,11 +808,11 @@ restore (LV2_Handle instance, free_path->free_path (free_path->handle, apath); } else #endif -#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14 { +#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14 free (apath); - } #endif + } } return LV2_STATE_SUCCESS; } |