Commit 0a5f92a1 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent ed0bb7be
......@@ -555,6 +555,7 @@ static void flush_packet_queue(AVFormatContext *s)
if (!pktl)
break;
s->packet_buffer = pktl->next;
av_free_packet(&pktl->pkt);
av_free(pktl);
}
}
......
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