https://bugzilla.gnome.org/show_bug.cgi?id=762525
gst_event_unref (event);
return FALSE;
}
+ } else {
+ gst_object_unref (target);
}
}
return TRUE;
}
+ gst_object_unref (target);
}
return gst_pad_query_default (pad, parent, query);
/* Create an rtspclientsink and send some data */
{
gchar *uri = get_server_uri (test_port, TEST_MOUNT_POINT);
- gchar *pipe_str = g_strdup_printf (AUDIO_PIPELINE,
- RECORD_N_BUFS, uri);
+ gchar *pipe_str;
GstMessage *msg;
GstElement *pipeline;
GstBus *bus;
+ pipe_str = g_strdup_printf (AUDIO_PIPELINE, RECORD_N_BUFS, uri);
+ g_free (uri);
+
pipeline = gst_parse_launch (pipe_str, NULL);
+ g_free (pipe_str);
+
fail_unless (pipeline != NULL);
bus = gst_element_get_bus (pipeline);