File: gstpad.override
Function: _wrap_gst_pad_query_position
Error: ob_refcnt of new ref from call through function pointer is 1 too high
1050 static PyObject *
1051 _wrap_gst_pad_query_position (PyGObject *self, PyObject *args)
1052 {
1053     gint64    cur;
1054     gint    format;
1055     PyObject    *pformat;
1056     PyObject    *ret;
1057 
1058     pformat = (PyObject*)PyTuple_GetItem(args, 0);
1059     if (pyg_enum_get_value (GST_TYPE_FORMAT, pformat, &format)) {
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown gint (*) (GType, struct PyObject *, gint *) from gstpad.override:1059
when considering value == (gint)0 from gstpad.override:1059
taking False path
1060         PyErr_SetString(PyExc_TypeError, "argument should be a GstFormat");
1061         return NULL;
1062     }
1063 
1064     if ((gst_pad_query_position(GST_PAD (self->obj), (GstFormat*) &format, &cur))) {
when considering range: -0x80000000 <= value <= -1
taking True path
1065 	ret = Py_BuildValue("(LO)", cur,
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: 	ret = Py_BuildValue("(LO)", cur,
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
1066 			    pyg_enum_from_gtype (GST_TYPE_FORMAT, format));
1067     } else {
1068         Py_INCREF(Py_None);
1069         ret = Py_None;
1070     }
1071 
1072     return ret;
1073 }
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 3 similar trace(s) to this