mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
yadif: Fix gvalue memory leak
gvalue variable should be unset instead of reset. https://bugzilla.gnome.org/show_bug.cgi?id=759518
This commit is contained in:
parent
fe42e302dd
commit
eb7deb4418
1 changed files with 2 additions and 2 deletions
|
@ -243,8 +243,8 @@ gst_yadif_transform_caps (GstBaseTransform * trans,
|
|||
gst_value_list_append_value (&value, &v);
|
||||
|
||||
gst_caps_set_value (othercaps, "interlace-mode", &value);
|
||||
g_value_reset (&value);
|
||||
g_value_reset (&v);
|
||||
g_value_unset (&value);
|
||||
g_value_unset (&v);
|
||||
} else {
|
||||
gst_caps_set_simple (othercaps, "interlace-mode", G_TYPE_STRING,
|
||||
"progressive", NULL);
|
||||
|
|
Loading…
Reference in a new issue