aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jalv.c2
-rw-r--r--src/process_setup.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 63351e3..ff90c7f 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -1003,7 +1003,7 @@ jalv_close(Jalv* const jalv)
lilv_state_free(jalv->preset);
free(jalv->ports);
jalv_process_cleanup(&jalv->process);
- zix_free(NULL, jalv->ui_msg);
+ zix_aligned_free(NULL, jalv->ui_msg);
free(jalv->process.controls_buf);
jalv_free_nodes(&jalv->nodes);
#if USE_SUIL
diff --git a/src/process_setup.c b/src/process_setup.c
index 0e03932..66078a9 100644
--- a/src/process_setup.c
+++ b/src/process_setup.c
@@ -71,7 +71,7 @@ jalv_process_cleanup(JalvProcess* const proc)
jalv_worker_free(proc->state_worker);
zix_ring_free(proc->ui_to_plugin);
zix_ring_free(proc->plugin_to_ui);
- zix_free(NULL, proc->process_msg);
+ zix_aligned_free(NULL, proc->process_msg);
for (uint32_t i = 0U; i < proc->num_ports; ++i) {
jalv_process_port_cleanup(&proc->ports[i]);
@@ -118,7 +118,7 @@ jalv_process_activate(JalvProcess* const proc,
void
jalv_process_deactivate(JalvProcess* const proc)
{
- zix_free(NULL, proc->process_msg);
+ zix_aligned_free(NULL, proc->process_msg);
proc->process_msg = NULL;
for (uint32_t i = 0U; i < proc->num_ports; ++i) {