mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
gstvalue: fix GstValue leak in structure_field_union_into
https://bugzilla.gnome.org/show_bug.cgi?id=780751
This commit is contained in:
parent
efbacf1931
commit
c361365890
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue