diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2014-07-06 11:28:34 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-07-10 22:12:49 +0100 |
commit | c534ad8e81258ede6b43a62e98b43f689ec87c51 (patch) | |
tree | be1e36e7b645f12d795dbdf5513aeab5b96e3c3f /tests/icles | |
parent | ab29217726ff5bf5db59bcb3d8d1120ef7d511c2 (diff) | |
download | gstreamer-plugins-bad-c534ad8e81258ede6b43a62e98b43f689ec87c51.tar.gz |
tests/icles/dccp: Release reference to parent
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732977
Diffstat (limited to 'tests/icles')
-rw-r--r-- | tests/icles/dccp/call/DCCPClient.c | 1 | ||||
-rw-r--r-- | tests/icles/dccp/call/DCCPServer.c | 1 |
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); } |