summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-10-28 19:01:28 +0000
committerjstebbins <[email protected]>2013-10-28 19:01:28 +0000
commit3196d3b95e504ba868b838ae55a2599ecfef147e (patch)
tree66a235032d55a3193c4e35245797b20742800084 /libhb/sync.c
parent453ab266d355c882ad2192f6907793e0154018b1 (diff)
libhb: fix double hb_buffer_close
Don't close a list of buffers then also close the last item in the list :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5861 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index f002434ce..0b38fa1f3 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -230,7 +230,6 @@ static void InitSubtitle( hb_job_t * job, hb_sync_video_t * sync, int i )
static void CloseSubtitle(hb_sync_video_t * sync, int ii)
{
hb_buffer_close(&sync->subtitle_sanitizer[ii].list_current);
- hb_buffer_close(&sync->subtitle_sanitizer[ii].last);
}
/***********************************************************************