diff options
author | David Robillard <d@drobilla.net> | 2024-12-02 21:24:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-12-02 21:24:02 -0500 |
commit | 33f65b49eefd61201cc9bb923eaef841a236cbed (patch) | |
tree | d216de842463269935ae0887069c07cd52fff8eb /src | |
parent | c67666c45b46155d86c0f4c6af2061cc297dd00f (diff) | |
download | jalv-33f65b49eefd61201cc9bb923eaef841a236cbed.tar.gz jalv-33f65b49eefd61201cc9bb923eaef841a236cbed.tar.bz2 jalv-33f65b49eefd61201cc9bb923eaef841a236cbed.zip |
Fix mismatched zix_aligned_alloc() and zix_free()
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 2 | ||||
-rw-r--r-- | src/process_setup.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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) { |