udpsrc: fix use of freed memory

This commit is contained in:
Vincent Penquerc'h 2012-01-24 14:52:09 +00:00
parent b780639b2c
commit 73754081e5

View file

@ -662,7 +662,7 @@ gst_udpsrc_get_property (GObject * object, guint prop_id, GValue * value,
g_value_set_string (value, udpsrc->multi_iface);
break;
case PROP_URI:
g_value_take_string (value, udpsrc->uri);
g_value_set_string (value, udpsrc->uri);
break;
case PROP_CAPS:
gst_value_set_caps (value, udpsrc->caps);