From b813c77ef81930f1cd24dc1f4df5f3642c3519db Mon Sep 17 00:00:00 2001 From: Sejun Park Date: Fri, 18 Aug 2017 15:22:31 +0900 Subject: [PATCH] fixed memleak Change-Id: Iae9b80d83582852c593862732119416ff263d897 --- ext/libav/gstavviddec.c | 2 +- packaging/gst-libav.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c index d1f6485..c853dd1 100755 --- a/ext/libav/gstavviddec.c +++ b/ext/libav/gstavviddec.c @@ -1844,7 +1844,7 @@ gst_ffmpegviddec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query) config_copy); /* FIXME validate and retry */ - if (gst_buffer_pool_set_config (pool, gst_structure_copy (config_copy))) { + if (gst_buffer_pool_set_config (pool, config_copy)) { GstFlowReturn ret; GstBuffer *tmp; diff --git a/packaging/gst-libav.spec b/packaging/gst-libav.spec index d73755c..d44b363 100644 --- a/packaging/gst-libav.spec +++ b/packaging/gst-libav.spec @@ -1,7 +1,7 @@ Name: gst-libav Summary: Libav plugin for GStreamer Version: 1.6.1 -Release: 3 +Release: 4 Group: Multimedia/Framework License: LGPL-2.0+ Source: %{name}-%{version}.tar.gz -- 2.7.4