Remove path free() calls.

This commit is contained in:
Mike Oliphant
2023-04-03 10:03:02 -07:00
parent b72337d8ee
commit a7a90f1e6a
-3
View File
@@ -212,8 +212,6 @@ namespace NAM {
store(handle, nam->uris.model_Path, apath, strlen(apath) + 1, nam->uris.atom_Path,
LV2_STATE_IS_POD | LV2_STATE_IS_PORTABLE);
free(apath);
return LV2_STATE_SUCCESS;
}
@@ -250,7 +248,6 @@ namespace NAM {
memcpy(msg.path, path, size);
nam->schedule->schedule_work(nam->schedule->handle, sizeof(msg), &msg);
free(path);
return LV2_STATE_SUCCESS;
}