mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +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;
|
||||
|
||||
case PROP_BUFFER:
|
||||
g_value_set_boxed (value, gst_fragment_get_buffer (fragment));
|
||||
g_value_take_boxed (value, gst_fragment_get_buffer (fragment));
|
||||
break;
|
||||
|
||||
case PROP_CAPS:
|
||||
g_value_set_boxed (value, gst_fragment_get_caps (fragment));
|
||||
g_value_take_boxed (value, gst_fragment_get_caps (fragment));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue