summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-08-30 15:39:37 -0700
committerJohn Stebbins <[email protected]>2019-08-30 15:40:05 -0700
commit547364dd2368235dcf4e32b9f12efef6624c4c4d (patch)
treef54ce1f3c69138aee860b40c24a469676a5437ef /libhb
parentdad30fe9809d3c976227953af73ac4016308e998 (diff)
decavcodec: fix memory leak
Diffstat (limited to 'libhb')
-rw-r--r--libhb/decavcodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 805792aef..a99c28d7b 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1244,6 +1244,7 @@ int reinit_video_filters(hb_work_private_t * pv)
filter_init.vrate.den = vrate.den;
pv->video_filters.graph = hb_avfilter_graph_init(filters, &filter_init);
+ hb_value_free(&filters);
if (pv->video_filters.graph == NULL)
{
hb_error("reinit_video_filters: failed to create filter graph");