Fix windows fallback for LV2 state:freePath feature
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user