git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62139b1
)
rtpdec_asf: Don't free the payload context in the .close function
author
Martin Storsjö
<martin@martin.st>
Wed, 4 Mar 2015 07:50:44 +0000
(09:50 +0200)
committer
Martin Storsjö
<martin@martin.st>
Wed, 4 Mar 2015 11:12:09 +0000
(13:12 +0200)
This was missed in
bb4a310bb
. This fixes a double free on close.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_asf.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_asf.c
b/libavformat/rtpdec_asf.c
index
82ea12f
..
23bf31c
100644
(file)
--- a/
libavformat/rtpdec_asf.c
+++ b/
libavformat/rtpdec_asf.c
@@
-278,7
+278,6
@@
static void asfrtp_close_context(PayloadContext *asf)
{
ffio_free_dyn_buf(&asf->pktbuf);
av_freep(&asf->buf);
- av_free(asf);
}
#define RTP_ASF_HANDLER(n, s, t) \