Original commit message from CVS:
2005-10-20 Andy Wingo <wingo@pobox.com>
* gst/gstbin.override (_wrap_gst_bin_get_by_name): Dude, like
totally don't unref NULL objects.
+2005-10-20 Andy Wingo <wingo@pobox.com>
+
+ * gst/gstbin.override (_wrap_gst_bin_get_by_name): Dude, like
+ totally don't unref NULL objects.
+
2005-10-19 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
/* pygobject_new handles NULL checking */
ret = pygstobject_new((GObject *)el);
- gst_object_unref (((PyGObject *) ret)->obj); /* from _get_by_name */
+ if (el)
+ gst_object_unref (el); /* from get_by_name */
return ret;
}
%%