Browse Source

Prefer av_freep() over av_free() for variables in the context for safety.

Originally committed as revision 16838 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
be195ed1d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/4xm.c

+ 1
- 1
libavformat/4xm.c View File

@@ -330,7 +330,7 @@ static int fourxm_read_close(AVFormatContext *s)
{
FourxmDemuxContext *fourxm = s->priv_data;

av_free(fourxm->tracks);
av_freep(&fourxm->tracks);

return 0;
}


Loading…
Cancel
Save