Browse Source

minor memleak

Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
ceedda75ea
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/utils.c

+ 1
- 0
libavformat/utils.c View File

@@ -2145,6 +2145,7 @@ void av_close_input_stream(AVFormatContext *s)
av_freep(&s->programs[i]->stream_index);
av_freep(&s->programs[i]);
}
av_freep(&s->programs);
flush_packet_queue(s);
av_freep(&s->priv_data);
av_free(s);


Loading…
Cancel
Save