docs: don't forget to unref the pad

This commit is contained in:
Wim Taymans 2009-11-09 12:42:35 +01:00
parent ed86995cd8
commit 2ffbb1a374

View file

@ -264,6 +264,8 @@ cb_newpad (GstElement *decodebin,
/* link'n'play */
gst_pad_link (pad, audiopad);
g_object_unref (audiopad);
}
gint