[x264-devel] commit: Add missing free for nal_buffer (Jason Garrett-Glaser )
git version control
git at videolan.org
Mon Oct 19 11:10:45 CEST 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Oct 12 23:28:26 2009 -0700| [b826fd5475a5e883f85e26cbf9d2c0acf5efcbd6] | committer: Jason Garrett-Glaser
Add missing free for nal_buffer
Fixes a memory leak.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b826fd5475a5e883f85e26cbf9d2c0acf5efcbd6
---
encoder/encoder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index 48429f9..3a47410 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -2335,7 +2335,7 @@ void x264_encoder_close ( x264_t *h )
free( h->param.rc.psz_stat_in );
x264_cqm_delete( h );
-
+ x264_free( h->nal_buffer );
x264_analyse_free_costs( h );
if( h->param.i_threads > 1)
More information about the x264-devel
mailing list