summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/render.c b/libhb/render.c
index 34928d906..894bdb0d0 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -226,6 +226,7 @@ static hb_buffer_t *delete_buffer_from_chain( hb_buffer_t **buf_out, hb_buffer_t
// found 'out' - remove it from the chain
pred->next = succ;
}
+ out->next = 0;
hb_buffer_close( &out );
return succ;
}