aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-08-16 23:17:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-08-16 23:17:32 +0000
commitda6c4573e9ccbfafea28c4a97eca43bae8e0d819 (patch)
tree0a17f30bd769b1e1808104d1c7203ecbed34a112 /ffplay.c
parentb3067ac1970fb56925cd413f01383f6875e52824 (diff)
downloadffmpeg-da6c4573e9ccbfafea28c4a97eca43bae8e0d819.tar.gz
memleak found by ("wxWindows_study" <quicktime2008 at hotmail dot com>)
Originally committed as revision 3396 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index fe5407610c..bfff450cdf 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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;