Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
b5d0a201
Commit
b5d0a201
authored
Feb 24, 2015
by
hanno
Committed by
Yaowu Xu
Feb 24, 2015
Browse files
Fix a trivial memory leak
Change-Id: I1108d720bb3b30586b128dd01ce608e1e62b1756
parent
6cf30312
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpxdec.c
View file @
b5d0a201
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment