diff options
Diffstat (limited to 'vpxdec.c')
-rw-r--r-- | vpxdec.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -718,9 +718,10 @@ int main_loop(int argc, const char **argv_) { /* Handle non-option arguments */ fn = argv[0]; - if (!fn) + if (!fn) { + free(argv); usage_exit(); - + } /* Open file */ infile = strcmp(fn, "-") ? fopen(fn, "rb") : set_binary_mode(stdin); |