diff options
author | saintdev <[email protected]> | 2007-04-04 09:08:00 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2007-04-04 09:08:00 +0000 |
commit | 12491db87e85c9d6a004752985efd10f0dee84bd (patch) | |
tree | 48a3f6c29e8c243dbec5baca4f40cfcd94fedaae /libhb | |
parent | f7fd5bf767b371eb8d0299d84bafe9da260e3a67 (diff) |
maurj reported a double-free crash that I am unable to reproduce. This removes an extra free that appears to be the problem. Better to leak a little memory than have some users crash.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@474 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/encavcodec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index 721644fbe..6c6b742f6 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -153,7 +153,6 @@ void encavcodecClose( hb_work_object_t * w ) hb_log( "encavcodec: closing libavcodec" ); avcodec_flush_buffers( pv->context ); avcodec_close( pv->context ); - free( pv->context ); } if( pv->file ) { |