memory leak fix by (Tom Dexter <devel at www dot digitalaudiorock dot com>)

Originally committed as revision 2216 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent ed0bb7bee6
commit 0a5f92a120
  1. 1
      libavformat/utils.c

@ -555,6 +555,7 @@ static void flush_packet_queue(AVFormatContext *s)
if (!pktl) if (!pktl)
break; break;
s->packet_buffer = pktl->next; s->packet_buffer = pktl->next;
av_free_packet(&pktl->pkt);
av_free(pktl); av_free(pktl);
} }
} }

Loading…
Cancel
Save