summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/icles/dccp/call/DCCPClient.c1
-rw-r--r--tests/icles/dccp/call/DCCPServer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/icles/dccp/call/DCCPClient.c b/tests/icles/dccp/call/DCCPClient.c
index 907e68f52..5f7eb019c 100644
--- a/tests/icles/dccp/call/DCCPClient.c
+++ b/tests/icles/dccp/call/DCCPClient.c
@@ -62,6 +62,7 @@ start_dccpserversink_pipe (GstElement * object, gint socket, gpointer data)
GstElement *pipelinesink =
(GstElement *) gst_element_get_parent (dccpserversink);
gst_element_set_state (pipelinesink, GST_STATE_PLAYING);
+ gst_object_unref (pipelinesink);
}
diff --git a/tests/icles/dccp/call/DCCPServer.c b/tests/icles/dccp/call/DCCPServer.c
index 76a556bba..fe0e34fa2 100644
--- a/tests/icles/dccp/call/DCCPServer.c
+++ b/tests/icles/dccp/call/DCCPServer.c
@@ -62,6 +62,7 @@ start_dccpclientsrc_pipe (GstElement * object, gint socket, gpointer data)
GstElement *pipelinesrc =
(GstElement *) gst_element_get_parent (dccpclientsrc);
gst_element_set_state (pipelinesrc, GST_STATE_PLAYING);
+ gst_object_unref (pipelinesrc);
}