File: | gstevent.override |
Function: | _wrap_gst_event_parse_new_segment_full |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
290 static PyObject *
291 _wrap_gst_event_parse_new_segment_full (PyGstMiniObject *self)
292 {
293 gboolean update;
294 gdouble rate, applied_rate;
295 GstFormat format;
296 gint64 start_value, stop_value, base;
297
298 if (GST_EVENT_TYPE(self->obj) != GST_EVENT_NEWSEGMENT) {
when treating unknown struct GstMiniObject * from gstevent.override:298 as non-NULL
when taking False path
299 PyErr_SetString(PyExc_TypeError, "Event is not a 'NewSegment' event");
300 return NULL;
301 }
302
303 gst_event_parse_new_segment_full (GST_EVENT(self->obj), &update, &rate,
304 &applied_rate, &format,
305 &start_value, &stop_value, &base);
306
307 return Py_BuildValue("(OddOLLL)",
when call succeeds
PyBool_FromLong() returns
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("(OddOLLL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
308 PyBool_FromLong(update),
309 rate, applied_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
310 start_value, stop_value, base);
311 }
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_full |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
290 static PyObject *
291 _wrap_gst_event_parse_new_segment_full (PyGstMiniObject *self)
292 {
293 gboolean update;
294 gdouble rate, applied_rate;
295 GstFormat format;
296 gint64 start_value, stop_value, base;
297
298 if (GST_EVENT_TYPE(self->obj) != GST_EVENT_NEWSEGMENT) {
when treating unknown struct GstMiniObject * from gstevent.override:298 as non-NULL
when taking False path
299 PyErr_SetString(PyExc_TypeError, "Event is not a 'NewSegment' event");
300 return NULL;
301 }
302
303 gst_event_parse_new_segment_full (GST_EVENT(self->obj), &update, &rate,
304 &applied_rate, &format,
305 &start_value, &stop_value, &base);
306
307 return Py_BuildValue("(OddOLLL)",
when call succeeds
PyBool_FromLong() returns
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("(OddOLLL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
308 PyBool_FromLong(update),
309 rate, applied_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
310 start_value, stop_value, base);
311 }
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