mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix windows fallback for LV2 state:freePath feature
This commit is contained in:
parent
2afef6e4bd
commit
64b43a6b95
1 changed files with 4 additions and 4 deletions
|
|
@ -751,11 +751,11 @@ save (LV2_Handle instance,
|
||||||
free_path->free_path (free_path->handle, apath);
|
free_path->free_path (free_path->handle, apath);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14
|
|
||||||
{
|
{
|
||||||
|
#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14
|
||||||
free (apath);
|
free (apath);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
return LV2_STATE_SUCCESS;
|
return LV2_STATE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
@ -808,11 +808,11 @@ restore (LV2_Handle instance,
|
||||||
free_path->free_path (free_path->handle, apath);
|
free_path->free_path (free_path->handle, apath);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14
|
|
||||||
{
|
{
|
||||||
|
#ifndef _WIN32 // https://github.com/drobilla/lilv/issues/14
|
||||||
free (apath);
|
free (apath);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return LV2_STATE_SUCCESS;
|
return LV2_STATE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue