File: gstpad.override
Function: _wrap_gst_pad_get_query_types_default
Error: calling PyList_Append with NULL as argument 1 (ret) at gstpad.override:1343
1326 static PyObject *
1327 _wrap_gst_pad_get_query_types_default (PyGObject *self)
1328 {
1329     PyObject    *ret;
1330     PyObject    *item;
1331     int        i;
1332     GstQueryType    *tab;
1333 
1334     tab = (GstQueryType*) gst_pad_get_query_types_default(GST_PAD(self->obj));
1335     if (tab == NULL) {
when treating unknown const GstQueryType * from gstpad.override:1334 as non-NULL
taking False path
1336     Py_INCREF(Py_None);
1337     return Py_None;
1338     }
1339 
1340     ret = PyList_New(0);
when PyList_New() fails
1341     for (i = 0; tab[i] != 0; i++) {
when taking True path
1342         item = pyg_enum_from_gtype (GST_TYPE_QUERY_TYPE, tab[i]);
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
when call succeeds
1343         PyList_Append(ret, item);
calling PyList_Append with NULL as argument 1 (ret) at gstpad.override:1343
PyList_Append() invokes Py_TYPE() on the pointer via the PyList_Check() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
1344         Py_XDECREF(item);
1345     }
1346     
1347     return ret;
1348 }