diff options
author | David Robillard <d@drobilla.net> | 2024-11-17 15:49:09 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 19:06:09 -0500 |
commit | f09537ca61cdef6920ff3aeacba75521670a9acd (patch) | |
tree | 53cd298dedb2adb45236f6787609fe190e7333a3 /src/jalv.c | |
parent | 7598701248587c911b7f4e9fbfce601bb9514863 (diff) | |
download | jalv-f09537ca61cdef6920ff3aeacba75521670a9acd.tar.gz jalv-f09537ca61cdef6920ff3aeacba75521670a9acd.tar.bz2 jalv-f09537ca61cdef6920ff3aeacba75521670a9acd.zip |
Factor out jalv_free_nodes()
Diffstat (limited to 'src/jalv.c')
-rw-r--r-- | src/jalv.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1212,9 +1212,7 @@ jalv_close(Jalv* const jalv) zix_free(NULL, jalv->ui_msg); zix_free(NULL, jalv->audio_msg); free(jalv->controls_buf); - for (LilvNode** n = (LilvNode**)&jalv->nodes; *n; ++n) { - lilv_node_free(*n); - } + jalv_free_nodes(&jalv->nodes); #if USE_SUIL suil_host_free(jalv->ui_host); #endif |