475 static PyObject *
476 _wrap_gst_registry_get_plugin_list (PyGObject *self)
477 {
478 GstRegistry *registry;
479 GList *l, *plugins;
480 PyObject *list;
481 gint i;
482
483 registry = GST_REGISTRY (self->obj);
484
485 plugins = gst_registry_get_plugin_list (registry);
486
487 list = PyList_New (g_list_length(plugins));
when PyList_New() fails
488 for (l = plugins, i = 0; l; l = l->next, ++i) {
when treating unknown struct GList * from ./gst.override:485 as non-NULL
taking True path
489 GstPlugin *plugin = (GstPlugin *) l->data;
490 PyObject *object = pygobject_new (G_OBJECT (plugin));
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
when call succeeds
491 gst_object_unref (plugin);
492
493 PyList_SetItem (list, i, object);
calling PyList_SetItem with NULL as argument 1 (list) at ./gst.override:493
PyList_SetItem() invokes Py_TYPE() on the pointer via the PyList_Check() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
494 }
495 g_list_free (plugins);
496
497 return list;
498 }