Fix windows fallback for LV2 state:freePath feature
This commit is contained in:
parent
2afef6e4bd
commit
64b43a6b95
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue