diff options
Diffstat (limited to 'utils/lv2apply.c')
-rw-r--r-- | utils/lv2apply.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/lv2apply.c b/utils/lv2apply.c index 7fc07b2..7f45733 100644 --- a/utils/lv2apply.c +++ b/utils/lv2apply.c @@ -230,9 +230,11 @@ main(int argc, char** argv) const char* plugin_uri = NULL; for (int i = 1; i < argc; ++i) { if (!strcmp(argv[i], "--version")) { + free(self.params); print_version(); return 0; } else if (!strcmp(argv[i], "--help")) { + free(self.params); return print_usage(0); } else if (!strcmp(argv[i], "-i")) { self.in_path = argv[++i]; |