summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis.bg@samsung.com>2015-03-24 12:50:43 +0000
committerLuis de Bethencourt <luis.bg@samsung.com>2015-03-24 12:51:36 +0000
commit31bf54a076d7ee2a938259b8c4e9358e024a12e6 (patch)
treea4b2ef3ce33ee27f27b03d8c5b07d3e7932e60b7
parentd077a3a300c67d20fd29502f0e8ec4374c489c3c (diff)
mpeg2dec: fix memory leak
CID #1291630
-rw-r--r--ext/mpeg2dec/gstmpeg2dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c
index 4a6a6e45..3ba28802 100644
--- a/ext/mpeg2dec/gstmpeg2dec.c
+++ b/ext/mpeg2dec/gstmpeg2dec.c
@@ -337,7 +337,7 @@ gst_mpeg2dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
if (!has_videometa) {
dec->downstream_pool = pool;
pool = NULL;
- down_config = gst_structure_copy (config);
+ down_config = config;
config = NULL;
min = 2;
max = 0;