Browse Source

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>
tags/n2.6
Martin Storsjö 10 years ago
parent
commit
1dc19729e9
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/rtpdec_asf.c

+ 0
- 1
libavformat/rtpdec_asf.c View File

@@ -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) \


Loading…
Cancel
Save