277 static PyObject *
278 _wrap_gst_message_parse_duration (PyGstMiniObject *self)
279 {
280 GstFormat format;
281 gint64 duration;
282
283 if (GST_MESSAGE(self->obj)->type != GST_MESSAGE_DURATION) {
when treating unknown struct GTypeInstance * from gstmessage.override:283 as non-NULL
when taking False path
284 PyErr_SetString(PyExc_TypeError, "Message is not a 'duration' message");
285 return NULL;
286 }
287
288 gst_message_parse_duration (GST_MESSAGE(self->obj), &format, &duration);
289
290 return Py_BuildValue("(OL)",
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("(OL)",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
291 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
292 duration);
293 }
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