OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60112f
)
libavformat: Free AVFormatContext->streams
author
Martin Storsjö
<martin@martin.st>
Wed, 20 Apr 2011 09:03:55 +0000
(12:03 +0300)
committer
Martin Storsjö
<martin@martin.st>
Wed, 20 Apr 2011 12:42:55 +0000
(15:42 +0300)
After switching this from a statically allocated array to a
dynamically allocated one in the major bump, this needs explicit
freeing.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
0c80ff6
..
19498b9
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2564,6
+2564,7
@@
void avformat_free_context(AVFormatContext *s)
av_freep(&s->chapters);
av_metadata_free(&s->metadata);
av_freep(&s->key);
+ av_freep(&s->streams);
av_free(s);
}