From 64b43a6b95557610b5126fa14844849e30c4239c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 6 Jan 2020 16:59:14 +0100 Subject: Fix windows fallback for LV2 state:freePath feature --- libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc | 8 ++++---- 1 file 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; } -- cgit v1.2.3