Commit b0ac2c4e authored by michael's avatar michael

memleak found by ("wxWindows_study" <quicktime2008 at hotmail dot com>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3396 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2f1d9c2a
......@@ -197,6 +197,7 @@ static void packet_queue_flush(PacketQueue *q)
for(pkt = q->first_pkt; pkt != NULL; pkt = pkt1) {
pkt1 = pkt->next;
av_free_packet(&pkt->pkt);
av_freep(&pkt);
}
q->last_pkt = NULL;
q->first_pkt = NULL;
......
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