mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
fragment: fix caps and buffer leaks in get_property
This commit is contained in:
parent
d1e8b88eaa
commit
59bd35aed1
1 changed files with 2 additions and 2 deletions
|
@ -95,11 +95,11 @@ gst_fragment_get_property (GObject * object,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PROP_BUFFER:
|
case PROP_BUFFER:
|
||||||
g_value_set_boxed (value, gst_fragment_get_buffer (fragment));
|
g_value_take_boxed (value, gst_fragment_get_buffer (fragment));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PROP_CAPS:
|
case PROP_CAPS:
|
||||||
g_value_set_boxed (value, gst_fragment_get_caps (fragment));
|
g_value_take_boxed (value, gst_fragment_get_caps (fragment));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue