changeset 2717:4e71804a0c92 libavcodec

memory leak
author lorenm
date Thu, 19 May 2005 19:11:40 +0000
parents 040b965f2cd0
children 158dc437c783
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu May 19 11:45:10 2005 +0000
+++ b/h264.c	Thu May 19 19:11:40 2005 +0000
@@ -3491,6 +3491,7 @@
         h->delayed_pic[i]= NULL;
     h->delayed_output_pic= NULL;
     idr(h);
+    h->s.current_picture_ptr->reference= 0;
 }
 
 /**