Fix windows fallback for LV2 state:freePath feature

This commit is contained in:
Robin Gareus 2020-01-06 16:59:14 +01:00
parent 2afef6e4bd
commit 64b43a6b95
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}