summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-12 03:29:23 +0000
committerDavid Robillard <d@drobilla.net>2009-02-12 03:29:23 +0000
commitc48d89477707cf063a6120647685799753470b82 (patch)
tree33a1427c5f0c87f3beaa173ad6e67416f23b0e92 /utils
parentf989767f728371ad85a49092ea2d04529ede670e (diff)
downloadlilv-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 'utils')
-rw-r--r--utils/lv2_inspect.c4
1 files changed, 4 insertions, 0 deletions
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);
}