Commit 5873feac authored by Andreas Rheinhardt's avatar Andreas Rheinhardt Committed by Paul B Mahol

avcodec/flac_parser: Don't leave stale pointer in memory

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 87b30f8a
......@@ -734,6 +734,7 @@ static void flac_parse_close(AVCodecParserContext *c)
av_free(curr);
curr = temp;
}
fpc->headers = NULL;
av_fifo_freep(&fpc->fifo_buf);
av_freep(&fpc->wrap_buf);
}
......
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