Browse Source

avcodec/flac_parser: use av_freep(), do not leave stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
fd367668e1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flac_parser.c

+ 1
- 1
libavcodec/flac_parser.c View File

@@ -724,7 +724,7 @@ static void flac_parse_close(AVCodecParserContext *c)
curr = temp;
}
av_fifo_freep(&fpc->fifo_buf);
av_free(fpc->wrap_buf);
av_freep(&fpc->wrap_buf);
}

AVCodecParser ff_flac_parser = {


Loading…
Cancel
Save