compiler warning fix

Original commit message from CVS:
compiler warning fix
This commit is contained in:
Thomas Vander Stichele 2003-08-06 22:35:16 +00:00
parent 0efe35c326
commit 11e28c0146
2 changed files with 1 additions and 3 deletions

View file

@ -133,8 +133,6 @@ gst_element_factory_cleanup (GstElementFactory *factory)
padtemplates = factory->padtemplates;
while (padtemplates) {
GstPadTemplate *oldtempl = GST_PAD_TEMPLATE (padtemplates->data);
/* We leak the padtemplates, since they're generally not properly
* ref'ed by the factories */
/* gst_object_unref (GST_OBJECT (oldtempl)); */

View file

@ -1311,7 +1311,7 @@ gst_pad_get_ghost_pad_list (GstPad *pad)
static GstPadLinkReturn
gst_pad_try_set_caps_func (GstRealPad *pad, GstCaps *caps, gboolean notify)
{
GstCaps *oldcaps, *allowed = NULL;
GstCaps *allowed = NULL;
GstPadTemplate *template;
GstElement *parent = GST_PAD_PARENT (pad);