summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_asf.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-03-04 09:50:44 +0200
committerMartin Storsjö <martin@martin.st>2015-03-04 13:12:09 +0200
commit1dc19729e92a96620000e09eba8e58cb458c9486 (patch)
treec1c8401a0632e44d847e204815ab01915578bb4a /libavformat/rtpdec_asf.c
parent62139b14e621f096d0f8ed90920d042b92867e40 (diff)
rtpdec_asf: Don't free the payload context in the .close function
This was missed in bb4a310bb. This fixes a double free on close. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_asf.c')
-rw-r--r--libavformat/rtpdec_asf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 82ea12f40b..23bf31c69b 100644
--- 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) \