From 2ffbb1a3749bee3dd1cc6597fd9f50c4a3ae6754 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 9 Nov 2009 12:42:35 +0100 Subject: [PATCH] docs: don't forget to unref the pad --- docs/manual/highlevel-components.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/manual/highlevel-components.xml b/docs/manual/highlevel-components.xml index b3be228..87d1d5f 100644 --- a/docs/manual/highlevel-components.xml +++ b/docs/manual/highlevel-components.xml @@ -264,6 +264,8 @@ cb_newpad (GstElement *decodebin, /* link'n'play */ gst_pad_link (pad, audiopad); + + g_object_unref (audiopad); } gint -- 2.7.4