File: | gstquery.override |
Function: | _wrap_gst_query_parse_seeking |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
112 static PyObject *
113 _wrap_gst_query_parse_seeking (PyGstMiniObject *self)
114 {
115 GstFormat format;
116 gboolean seekable;
117 gint64 segment_start, segment_end;
118
119 if (GST_QUERY_TYPE(self->obj) != GST_QUERY_SEEKING) {
when treating unknown struct GstMiniObject * from gstquery.override:119 as non-NULL
when taking False path
120 PyErr_SetString(PyExc_TypeError, "Query is not a 'Seeking' query");
121 return NULL;
122 }
123
124 gst_query_parse_seeking (GST_QUERY(self->obj),
125 &format, &seekable,
126 &segment_start, &segment_end);
127
128 return Py_BuildValue("(OOLL)",
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("(OOLL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
129 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
130 PyBool_FromLong(seekable),
131 segment_start,
132 segment_end);
133 }
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: | gstquery.override |
Function: | _wrap_gst_query_parse_seeking |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
112 static PyObject *
113 _wrap_gst_query_parse_seeking (PyGstMiniObject *self)
114 {
115 GstFormat format;
116 gboolean seekable;
117 gint64 segment_start, segment_end;
118
119 if (GST_QUERY_TYPE(self->obj) != GST_QUERY_SEEKING) {
when treating unknown struct GstMiniObject * from gstquery.override:119 as non-NULL
when taking False path
120 PyErr_SetString(PyExc_TypeError, "Query is not a 'Seeking' query");
121 return NULL;
122 }
123
124 gst_query_parse_seeking (GST_QUERY(self->obj),
125 &format, &seekable,
126 &segment_start, &segment_end);
127
128 return Py_BuildValue("(OOLL)",
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("(OOLL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
129 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
130 PyBool_FromLong(seekable),
131 segment_start,
132 segment_end);
133 }
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