diff options
author | Wan-Teh Chang <wtc@google.com> | 2019-12-06 10:42:49 -0800 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2019-12-06 10:42:49 -0800 |
commit | f835ab76082e8ea2e04901f1b9746c65e56f4218 (patch) | |
tree | 413d36ec73929af80cbf84380dfb6eff68058ded /vpxdec.c | |
parent | 04383393e47142f801eda822277e12b9214bc63a (diff) | |
download | libvpx-f835ab76082e8ea2e04901f1b9746c65e56f4218.tar libvpx-f835ab76082e8ea2e04901f1b9746c65e56f4218.tar.gz libvpx-f835ab76082e8ea2e04901f1b9746c65e56f4218.tar.bz2 libvpx-f835ab76082e8ea2e04901f1b9746c65e56f4218.zip |
Fix argv leak on Unrecognized input file type err
Free argv (allocated by argv_dup) after the
"Unrecognized input file type" error.
Change-Id: I2b6273a1abca2ff8e51445fb15839bd993c41741
Diffstat (limited to 'vpxdec.c')
-rw-r--r-- | vpxdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -722,6 +722,7 @@ static int main_loop(int argc, const char **argv_) { #if !CONFIG_WEBM_IO fprintf(stderr, "vpxdec was built without WebM container support.\n"); #endif + free(argv); return EXIT_FAILURE; } |