File: gstmessage.override
Function: _wrap_gst_message_parse_segment_done
Error: ob_refcnt of new ref from call through function pointer is 1 too high
100 static PyObject *
101 _wrap_gst_message_parse_segment_done (PyGstMiniObject *self)
102 {
103   gint64		position;
104   GstFormat             format;
105 
106   /* Should raise an exception if it's not a segment done message */
107   if (GST_MESSAGE(self->obj)->type != GST_MESSAGE_SEGMENT_DONE) {
when treating unknown struct GTypeInstance * from gstmessage.override:107 as non-NULL
when taking False path
108 	  PyErr_SetString(PyExc_TypeError, "Message is not a segment done message");
109 	  return NULL;
110   }
111   gst_message_parse_segment_done (GST_MESSAGE(self->obj), &format, &position);
112 
113   return Py_BuildValue("(OL)",
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at:   return Py_BuildValue("(OL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
114 		       pyg_enum_from_gtype(GST_TYPE_FORMAT, format),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
115 		       position);
116 }
ob_refcnt of new ref from call through function pointer is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 1 similar trace(s) to this