Browse Source

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

Originally committed as revision 3396 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
da6c4573e9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffplay.c

+ 1
- 0
ffplay.c View File

@@ -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;


Loading…
Cancel
Save