commit | 56ceec936d144a771eab63c97f8617aa7c4e7ee1 | [log] [tgz] |
---|---|---|
author | Wan-Teh Chang <wtc@google.com> | Fri Dec 06 10:16:22 2019 -0800 |
committer | Wan-Teh Chang <wtc@google.com> | Fri Dec 06 19:33:15 2019 +0000 |
tree | e2b9f7d7505825c0b65966a2b953b93d9b10b325 | |
parent | 1c8ccb415be401d32811bbb067f68b7cb05d8dc4 [diff] |
Fix argv leak on Unrecognized input file type err Free argv (allocated by argv_dup) after the "Unrecognized input file type" error. Change-Id: If0c00e3ada53f436bf7408e765de4d84152f0892
diff --git a/apps/aomdec.c b/apps/aomdec.c index acecc90..8b149a0 100644 --- a/apps/aomdec.c +++ b/apps/aomdec.c
@@ -628,6 +628,7 @@ #if !CONFIG_WEBM_IO fprintf(stderr, "aomdec was built without WebM container support.\n"); #endif + free(argv); return EXIT_FAILURE; }