diff options
author | David Robillard <d@drobilla.net> | 2009-02-12 03:29:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-12 03:29:23 +0000 |
commit | c48d89477707cf063a6120647685799753470b82 (patch) | |
tree | 33a1427c5f0c87f3beaa173ad6e67416f23b0e92 /hosts | |
parent | f989767f728371ad85a49092ea2d04529ede670e (diff) | |
download | lilv-c48d89477707cf063a6120647685799753470b82.tar.gz lilv-c48d89477707cf063a6120647685799753470b82.tar.bz2 lilv-c48d89477707cf063a6120647685799753470b82.zip |
Fix memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1927 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/lv2_jack_host.c | 3 |
1 files changed, 3 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); |