File: | gstmessage.override |
Function: | _wrap_gst_message_parse_step_start |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
377 static PyObject *
378 _wrap_gst_message_parse_step_start (PyGstMiniObject *self)
379 {
380 GstFormat format;
381 guint64 amount;
382 gdouble rate;
383 gboolean active, flush, intermediate;
384
385
386 if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_STEP_START) {
when treating unknown struct GstMiniObject * from gstmessage.override:386 as non-NULL
when taking False path
387 PyErr_SetString(PyExc_TypeError, "Message is not an 'step-start' message");
388 return NULL;
389 }
390
391 gst_message_parse_step_start (GST_MESSAGE (self->obj), &active, &format,
392 &amount, &rate, &flush, &intermediate);
393
394 return Py_BuildValue("OOKdOO",
PyBool_FromLong() returns
PyBool_FromLong() returns
when call succeeds
PyBool_FromLong() returns
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("OOKdOO",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
395 PyBool_FromLong(active),
396 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
397 amount, rate,
398 PyBool_FromLong(flush),
399 PyBool_FromLong(intermediate));
400 }
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 8 similar trace(s) to this
File: | gstmessage.override |
Function: | _wrap_gst_message_parse_step_start |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
377 static PyObject *
378 _wrap_gst_message_parse_step_start (PyGstMiniObject *self)
379 {
380 GstFormat format;
381 guint64 amount;
382 gdouble rate;
383 gboolean active, flush, intermediate;
384
385
386 if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_STEP_START) {
when treating unknown struct GstMiniObject * from gstmessage.override:386 as non-NULL
when taking False path
387 PyErr_SetString(PyExc_TypeError, "Message is not an 'step-start' message");
388 return NULL;
389 }
390
391 gst_message_parse_step_start (GST_MESSAGE (self->obj), &active, &format,
392 &amount, &rate, &flush, &intermediate);
393
394 return Py_BuildValue("OOKdOO",
PyBool_FromLong() returns
PyBool_FromLong() returns
when call succeeds
PyBool_FromLong() returns
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("OOKdOO",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
395 PyBool_FromLong(active),
396 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
397 amount, rate,
398 PyBool_FromLong(flush),
399 PyBool_FromLong(intermediate));
400 }
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