[x264-devel] commit: Fix minor memory leak accidentally added with the addition of b-adapt 2 ( Ralf Terdic )

git version control git at videolan.org
Thu Oct 2 17:53:14 CEST 2008


x264 | branch: master | Ralf Terdic <contact at jswiff.com> | Thu Oct  2 08:52:33 2008 -0700| [65b837fc75bdbabcc34f5e12048c10d77932eee2] | committer: Jason Garrett-Glaser 

Fix minor memory leak accidentally added with the addition of b-adapt 2

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=65b837fc75bdbabcc34f5e12048c10d77932eee2
---

 common/frame.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/frame.c b/common/frame.c
index 46b4c67..dc447a7 100644
--- a/common/frame.c
+++ b/common/frame.c
@@ -153,6 +153,7 @@ void x264_frame_delete( x264_frame_t *frame )
             x264_free( frame->lowres_mv_costs[j][i] );
         }
     x264_free( frame->f_qp_offset );
+    x264_free( frame->i_intra_cost );
     x264_free( frame->i_row_bits );
     x264_free( frame->i_row_qp );
     x264_free( frame->mb_type );



More information about the x264-devel mailing list