959 static PyObject *
960 _wrap_gst_clock_get_calibration (PyGObject * self)
961 {
962 PyObject *ret;
963 GstClockTime internal;
964 GstClockTime external;
965 GstClockTime rate_num;
966 GstClockTime rate_denom;
967
968 gst_clock_get_calibration (GST_CLOCK (self->obj),
969 &internal,
970 &external,
971 &rate_num,
972 &rate_denom);
973
974 ret = PyTuple_New(4);
when PyTuple_New() fails
975 PyTuple_SetItem(ret, 0, PyLong_FromUnsignedLongLong(internal));
when PyLong_FromUnsignedLongLong() succeeds
calling PyTuple_SetItem with NULL as argument 1 (ret) at ./gst.override:975
PyTuple_SetItem() invokes Py_TYPE() on the pointer via the PyTuple_Check() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
976 PyTuple_SetItem(ret, 1, PyLong_FromUnsignedLongLong(external));
977 PyTuple_SetItem(ret, 2, PyLong_FromUnsignedLongLong(rate_num));
978 PyTuple_SetItem(ret, 3, PyLong_FromUnsignedLongLong(rate_denom));
979
980 return ret;
981 }