File: | gstevent.override |
Function: | _wrap_gst_event_parse_new_segment |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
54 static PyObject *
55 _wrap_gst_event_parse_new_segment (PyGstMiniObject *self)
56 {
57 gboolean update;
58 gdouble rate;
59 GstFormat format;
60 gint64 start_value, stop_value, base;
61
62 if (GST_EVENT_TYPE(self->obj) != GST_EVENT_NEWSEGMENT) {
when treating unknown struct GstMiniObject * from gstevent.override:62 as non-NULL
when taking False path
63 PyErr_SetString(PyExc_TypeError, "Event is not a 'NewSegment' event");
64 return NULL;
65 }
66
67 gst_event_parse_new_segment (GST_EVENT(self->obj), &update, &rate, &format,
68 &start_value, &stop_value, &base);
69
70 return Py_BuildValue("(OdOLLL)",
when call succeeds
PyBool_FromLong() returns
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("(OdOLLL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
71 PyBool_FromLong(update),
72 rate, 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
73 start_value, stop_value, base);
74 }
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
File: | gstevent.override |
Function: | _wrap_gst_event_parse_new_segment |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
54 static PyObject *
55 _wrap_gst_event_parse_new_segment (PyGstMiniObject *self)
56 {
57 gboolean update;
58 gdouble rate;
59 GstFormat format;
60 gint64 start_value, stop_value, base;
61
62 if (GST_EVENT_TYPE(self->obj) != GST_EVENT_NEWSEGMENT) {
when treating unknown struct GstMiniObject * from gstevent.override:62 as non-NULL
when taking False path
63 PyErr_SetString(PyExc_TypeError, "Event is not a 'NewSegment' event");
64 return NULL;
65 }
66
67 gst_event_parse_new_segment (GST_EVENT(self->obj), &update, &rate, &format,
68 &start_value, &stop_value, &base);
69
70 return Py_BuildValue("(OdOLLL)",
when call succeeds
PyBool_FromLong() returns
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("(OdOLLL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
71 PyBool_FromLong(update),
72 rate, 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
73 start_value, stop_value, base);
74 }
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