Original commit message from CVS:
* gst/playback/gststreamselector.c:
(gst_stream_selector_get_property):
Don't leak pad name.
+2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/playback/gststreamselector.c:
+ (gst_stream_selector_get_property):
+ Don't leak pad name.
+
2006-04-10 Michael Smith <msmith@fluendo.com>
* tests/check/Makefile.am:
case PROP_ACTIVE_PAD:{
GST_OBJECT_LOCK (object);
if (sel->active_sinkpad != NULL) {
- g_value_set_string (value, gst_pad_get_name (sel->active_sinkpad));
- } else
+ g_value_take_string (value, gst_pad_get_name (sel->active_sinkpad));
+ } else {
g_value_set_string (value, "");
+ }
GST_OBJECT_UNLOCK (object);
break;
}