Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
30939390
Commit
30939390
authored
Sep 04, 2012
by
Luca Barbato
Browse files
avio: make avio_close NULL the freed buffer
parent
a6842670
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libavformat/aviobuf.c
libavformat/aviobuf.c
+1
-1
No files found.
libavformat/aviobuf.c
View file @
30939390
...
...
@@ -762,7 +762,7 @@ int avio_close(AVIOContext *s)
return
0
;
h
=
s
->
opaque
;
av_free
(
s
->
buffer
);
av_free
p
(
&
s
->
buffer
);
av_free
(
s
);
return
ffurl_close
(
h
);
}
...
...
Write
Preview
Markdown
is supported
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