diff options
-rw-r--r-- | hosts/lv2_jack_host.c | 3 | ||||
-rw-r--r-- | test/slv2_test.c | 1 | ||||
-rw-r--r-- | utils/lv2_inspect.c | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c index a7138e7..ea97d5d 100644 --- a/hosts/lv2_jack_host.c +++ b/hosts/lv2_jack_host.c @@ -196,6 +196,8 @@ main(int argc, char** argv) for (uint32_t i=0; i < host.num_ports; ++i) create_port(&host, i, default_values[i]); + + free(default_values); /* Activate plugin and JACK */ slv2_instance_activate(host.instance); @@ -226,6 +228,7 @@ main(int argc, char** argv) slv2_instance_free(host.instance); /* Clean up */ + free(host.ports); slv2_value_free(host.input_class); slv2_value_free(host.output_class); slv2_value_free(host.control_class); diff --git a/test/slv2_test.c b/test/slv2_test.c index a298842..47e5d6c 100644 --- a/test/slv2_test.c +++ b/test/slv2_test.c @@ -313,6 +313,7 @@ test_value() slv2_value_free(ival_ne); slv2_value_free(fval_ne); slv2_value_free(uval_dup); + slv2_value_free(nil2); cleanup_uris(); return 1; diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c index e28bc78..9ceb54b 100644 --- a/utils/lv2_inspect.c +++ b/utils/lv2_inspect.c @@ -218,6 +218,10 @@ print_plugin(SLV2Plugin p) for (uint32_t i=0; i < num_ports; ++i) print_port(p, i, mins, maxes, defaults); + + free(mins); + free(maxes); + free(defaults); } |