59 static PyObject *
60 _wrap_gst_message_parse_state_changed (PyGstMiniObject *self)
61 {
62 GstState old;
63 GstState new;
64 GstState pen;
65
66 /* Should raise an exception if it's not a state-changed message */
67 if (GST_MESSAGE(self->obj)->type != GST_MESSAGE_STATE_CHANGED) {
when treating unknown struct GTypeInstance * from gstmessage.override:67 as non-NULL
when taking False path
68 PyErr_SetString(PyExc_TypeError, "Message is not a state-changed message");
69 return NULL;
70 }
71 gst_message_parse_state_changed (GST_MESSAGE(self->obj), &old, &new, &pen);
72
73 return Py_BuildValue("[OOO]",
when call succeeds
when call succeeds
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("[OOO]",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
74 pyg_enum_from_gtype(GST_TYPE_STATE, old),
75 pyg_enum_from_gtype(GST_TYPE_STATE, new),
76 pyg_enum_from_gtype(GST_TYPE_STATE, pen));
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
77 }
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 14 similar trace(s) to this