247 static PyObject *
248 _wrap_gst_query_parse_buffering_percent (PyGstMiniObject * self)
249 {
250 gboolean busy;
251 gint percent;
252
253 if (GST_QUERY_TYPE (self->obj) != GST_QUERY_BUFFERING) {
when treating unknown struct GstMiniObject * from gstquery.override:253 as non-NULL
when taking False path
254 PyErr_SetString(PyExc_TypeError, "Query is not a 'buffering' query");
255 return NULL;
256 }
257
258 gst_query_parse_buffering_percent (GST_QUERY (self->obj), &busy, &percent);
259
260 return Py_BuildValue("(Od)", PyBool_FromLong(busy), percent);
PyBool_FromLong() returns
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("(Od)", PyBool_FromLong(busy), percent);
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
261 }
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 1 similar trace(s) to this