Commit 1dc19729 authored by Martin Storsjö's avatar Martin Storsjö

rtpdec_asf: Don't free the payload context in the .close function

This was missed in bb4a310b. This fixes a double free on close.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 62139b14
...@@ -278,7 +278,6 @@ static void asfrtp_close_context(PayloadContext *asf) ...@@ -278,7 +278,6 @@ static void asfrtp_close_context(PayloadContext *asf)
{ {
ffio_free_dyn_buf(&asf->pktbuf); ffio_free_dyn_buf(&asf->pktbuf);
av_freep(&asf->buf); av_freep(&asf->buf);
av_free(asf);
} }
#define RTP_ASF_HANDLER(n, s, t) \ #define RTP_ASF_HANDLER(n, s, t) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment