Commit 59bd35ae authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

fragment: fix caps and buffer leaks in get_property

parent d1e8b88e
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment