changeset 3248:7fe0c156ed74 libavformat

minor memleak
author michael
date Thu, 24 Apr 2008 23:09:28 +0000
parents 8876618cea62
children bda0941921fe
files utils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Thu Apr 24 22:16:00 2008 +0000
+++ b/utils.c	Thu Apr 24 23:09:28 2008 +0000
@@ -2145,6 +2145,7 @@
         av_freep(&s->programs[i]->stream_index);
         av_freep(&s->programs[i]);
     }
+    av_freep(&s->programs);
     flush_packet_queue(s);
     av_freep(&s->priv_data);
     av_free(s);