File: gst.c
Function: _wrap_gst_preset_get_preset_names
Error: calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:23940
23927 static PyObject *
23928 _wrap_gst_preset_get_preset_names(PyGObject *self)
23929 {
23930     gchar **ret;
23931 
23932     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()
23933     ret = gst_preset_get_preset_names(GST_PRESET(self->obj));
23934     pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
23935     if (ret) {
when treating unknown gchar * * from gst.c:23933 as non-NULL
taking True path
23936         guint size = g_strv_length(ret);
23937         PyObject *py_ret = PyTuple_New(size);
when PyTuple_New() fails
23938         gint i;
23939         for (i = 0; i < size; i++)
when considering range: 1 <= value <= 0xffffffff
taking True path
23940             PyTuple_SetItem(py_ret, i,
when treating unknown gchar * * from gst.c:23936 as non-NULL
when PyString_FromString() succeeds
calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:23940
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
23941                 PyString_FromString(ret[i]));
23942         return py_ret;
23943     }
23944     return PyTuple_New (0);
23945 
23946 }