File: | gstmessage.override |
Function: | _wrap_gst_message_parse_structure_change |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
423 static PyObject *
424 _wrap_gst_message_parse_structure_change (PyGstMiniObject *self)
425 {
426 GstStructureChangeType type;
427 GstElement *owner;
428 gboolean busy;
429
430
431 if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_STRUCTURE_CHANGE) {
when treating unknown struct GstMiniObject * from gstmessage.override:431 as non-NULL
when taking False path
432 PyErr_SetString(PyExc_TypeError, "Message is not an 'structure_change' message");
433 return NULL;
434 }
435
436 gst_message_parse_structure_change (GST_MESSAGE (self->obj), &type, &owner, &busy);
437
438 return Py_BuildValue("OOO",
PyBool_FromLong() returns
when call succeeds
when call succeeds
when Py_BuildValue() succeeds
PyBool_FromLong 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
439 pyg_enum_from_gtype (GST_TYPE_STRUCTURE_CHANGE_TYPE, type),
440 pygobject_new((GObject*) owner),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
441 PyBool_FromLong(busy));
442 }
ob_refcnt of PyBool_FromLong 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 4 similar trace(s) to this
File: | gstmessage.override |
Function: | _wrap_gst_message_parse_structure_change |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
423 static PyObject *
424 _wrap_gst_message_parse_structure_change (PyGstMiniObject *self)
425 {
426 GstStructureChangeType type;
427 GstElement *owner;
428 gboolean busy;
429
430
431 if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_STRUCTURE_CHANGE) {
when treating unknown struct GstMiniObject * from gstmessage.override:431 as non-NULL
when taking False path
432 PyErr_SetString(PyExc_TypeError, "Message is not an 'structure_change' message");
433 return NULL;
434 }
435
436 gst_message_parse_structure_change (GST_MESSAGE (self->obj), &type, &owner, &busy);
437
438 return Py_BuildValue("OOO",
PyBool_FromLong() returns
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
439 pyg_enum_from_gtype (GST_TYPE_STRUCTURE_CHANGE_TYPE, type),
440 pygobject_new((GObject*) owner),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
441 PyBool_FromLong(busy));
442 }
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 5 similar trace(s) to this