From c534ad8e81258ede6b43a62e98b43f689ec87c51 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 6 Jul 2014 11:28:34 +0200 Subject: [PATCH] tests/icles/dccp: Release reference to parent Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732977 --- tests/icles/dccp/call/DCCPClient.c | 1 + tests/icles/dccp/call/DCCPServer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/icles/dccp/call/DCCPClient.c b/tests/icles/dccp/call/DCCPClient.c index 907e68f522..5f7eb019c2 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 76a556bba0..fe0e34fa2b 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); }