File: gst.c
Function: _wrap_gst_preset_get_property_names
Error: calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:23961
23948 static PyObject *
23949 _wrap_gst_preset_get_property_names(PyGObject *self)
23950 {
23951     gchar **ret;
23952 
23953     pyg_begin_allow_threads;
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
when considering range: -0x80000000 <= value <= -1
taking True path
releasing the GIL by calling PyEval_SaveThread()
23954     ret = gst_preset_get_property_names(GST_PRESET(self->obj));
23955     pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
23956     if (ret) {
when treating unknown gchar * * from gst.c:23954 as non-NULL
taking True path
23957         guint size = g_strv_length(ret);
23958         PyObject *py_ret = PyTuple_New(size);
when PyTuple_New() fails
23959         gint i;
23960         for (i = 0; i < size; i++)
when considering range: 1 <= value <= 0xffffffff
taking True path
23961             PyTuple_SetItem(py_ret, i,
when treating unknown gchar * * from gst.c:23957 as non-NULL
when PyString_FromString() succeeds
calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:23961
PyTuple_SetItem() invokes Py_TYPE() on the pointer via the PyTuple_Check() macro, thus accessing (NULL)->ob_type
found 5 similar trace(s) to this
23962                 PyString_FromString(ret[i]));
23963         return py_ret;
23964     }
23965     return PyTuple_New (0);
23966 
23967 }