From c3613658909df193e42a71cf6b5f3fcb6d51d2e0 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 31 Mar 2017 11:22:49 +0100 Subject: [PATCH] gstvalue: fix GstValue leak in structure_field_union_into https://bugzilla.gnome.org/show_bug.cgi?id=780751 --- gst/gstvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 749e867..5dcfd5e 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -4351,7 +4351,7 @@ structure_field_union_into (GQuark field_id, GValue * val, gpointer user_data) return FALSE; g_value_unset (val); - gst_value_init_and_copy (val, &res_value); + gst_value_move (val, &res_value); return TRUE; } -- 2.7.4