File: | gstmessage.override |
Function: | _wrap_gst_message_parse_clock_provide |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
226 static PyObject *
227 _wrap_gst_message_parse_clock_provide (PyGstMiniObject *self)
228 {
229 GstClock *clock;
230 gboolean ready;
231
232 if (GST_MESSAGE(self->obj)->type != GST_MESSAGE_CLOCK_PROVIDE) {
when treating unknown struct GTypeInstance * from gstmessage.override:232 as non-NULL
when taking False path
233 PyErr_SetString(PyExc_TypeError, "Message is not a 'clock provide' message");
234 return NULL;
235 }
236
237 gst_message_parse_clock_provide (GST_MESSAGE(self->obj), &clock, &ready);
238
239 return Py_BuildValue("(OO)",
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("(OO)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
240 pygobject_new(G_OBJECT (clock)),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
241 PyBool_FromLong(ready));
242 }
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 2 similar trace(s) to this
File: | gstmessage.override |
Function: | _wrap_gst_message_parse_clock_provide |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
226 static PyObject *
227 _wrap_gst_message_parse_clock_provide (PyGstMiniObject *self)
228 {
229 GstClock *clock;
230 gboolean ready;
231
232 if (GST_MESSAGE(self->obj)->type != GST_MESSAGE_CLOCK_PROVIDE) {
when treating unknown struct GTypeInstance * from gstmessage.override:232 as non-NULL
when taking False path
233 PyErr_SetString(PyExc_TypeError, "Message is not a 'clock provide' message");
234 return NULL;
235 }
236
237 gst_message_parse_clock_provide (GST_MESSAGE(self->obj), &clock, &ready);
238
239 return Py_BuildValue("(OO)",
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("(OO)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
240 pygobject_new(G_OBJECT (clock)),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
241 PyBool_FromLong(ready));
242 }
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