aboutsummaryrefslogtreecommitdiffstats
path: root/src/process_setup.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-12-02 21:24:02 -0500
committerDavid Robillard <d@drobilla.net>2024-12-02 21:24:02 -0500
commit33f65b49eefd61201cc9bb923eaef841a236cbed (patch)
treed216de842463269935ae0887069c07cd52fff8eb /src/process_setup.c
parentc67666c45b46155d86c0f4c6af2061cc297dd00f (diff)
downloadjalv-33f65b49eefd61201cc9bb923eaef841a236cbed.tar.gz
jalv-33f65b49eefd61201cc9bb923eaef841a236cbed.tar.bz2
jalv-33f65b49eefd61201cc9bb923eaef841a236cbed.zip
Fix mismatched zix_aligned_alloc() and zix_free()
Diffstat (limited to 'src/process_setup.c')
-rw-r--r--src/process_setup.c4
1 files changed, 2 insertions, 2 deletions
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) {