80 static PyObject *
81 _wrap_gst_message_parse_segment_start (PyGstMiniObject *self)
82 {
83 gint64 position;
84 GstFormat format;
85
86 /* Should raise an exception if it's not a segment start message */
87 if (GST_MESSAGE(self->obj)->type != GST_MESSAGE_SEGMENT_START) {
when treating unknown struct GTypeInstance * from gstmessage.override:87 as non-NULL
when taking False path
88 PyErr_SetString(PyExc_TypeError, "Message is not a segment start message");
89 return NULL;
90 }
91 gst_message_parse_segment_start (GST_MESSAGE(self->obj), &format, &position);
92
93 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
94 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
95 position);
96 }
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