File: | gstevent.override |
Function: | _wrap_gst_event_parse_step |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
266 static PyObject *
267 _wrap_gst_event_parse_step (PyGstMiniObject * self)
268 {
269 GstFormat format;
270 guint64 amount;
271 gdouble rate;
272 gboolean flush, intermediate;
273
274 if (GST_EVENT_TYPE (self->obj) != GST_EVENT_STEP) {
when treating unknown struct GstMiniObject * from gstevent.override:274 as non-NULL
when taking False path
275 PyErr_SetString(PyExc_TypeError, "Event is not a 'step' event");
276 return NULL;
277 }
278
279 gst_event_parse_step (GST_EVENT (self->obj), &format, &amount, &rate,
280 &flush, &intermediate);
281
282 return Py_BuildValue("OKdOO",
PyBool_FromLong() returns
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("OKdOO",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
283 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
284 amount, rate,
285 PyBool_FromLong(flush),
286 PyBool_FromLong(intermediate));
287 }
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 5 similar trace(s) to this
File: | gstevent.override |
Function: | _wrap_gst_event_parse_step |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
266 static PyObject *
267 _wrap_gst_event_parse_step (PyGstMiniObject * self)
268 {
269 GstFormat format;
270 guint64 amount;
271 gdouble rate;
272 gboolean flush, intermediate;
273
274 if (GST_EVENT_TYPE (self->obj) != GST_EVENT_STEP) {
when treating unknown struct GstMiniObject * from gstevent.override:274 as non-NULL
when taking False path
275 PyErr_SetString(PyExc_TypeError, "Event is not a 'step' event");
276 return NULL;
277 }
278
279 gst_event_parse_step (GST_EVENT (self->obj), &format, &amount, &rate,
280 &flush, &intermediate);
281
282 return Py_BuildValue("OKdOO",
PyBool_FromLong() returns
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("OKdOO",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
283 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
284 amount, rate,
285 PyBool_FromLong(flush),
286 PyBool_FromLong(intermediate));
287 }
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