540 static PyObject *
541 _wrap_gst_registry_get_feature_list_by_plugin (PyGObject *self, PyObject *args, PyObject *kwargs)
542 {
543 static char *kwlist[] = { "name", NULL };
544 gchar * name = NULL;
545
546 GstRegistry *registry;
547 GList *l, *features;
548 PyObject *list;
549 gint i;
550
551 if (!PyArg_ParseTupleAndKeywords(args, kwargs,
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
552 "s:GstRegistry.get_feature_list_by_plugin", kwlist, &name))
553 return NULL;
554
555 registry = GST_REGISTRY (self->obj);
556
557 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()
558 features = gst_registry_get_feature_list_by_plugin (registry, name);
559 pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
560
561 list = PyList_New (g_list_length(features));
when PyList_New() fails
562 for (l = features, i = 0; l; l = l->next, ++i) {
when treating unknown struct GList * from ./gst.override:558 as non-NULL
taking True path
563 GstPluginFeature *feature = (GstPluginFeature *) l->data;
564 PyList_SetItem (list, i, pygobject_new (G_OBJECT (feature)));
when call succeeds
calling PyList_SetItem with NULL as argument 1 (list) at ./gst.override:564
PyList_SetItem() invokes Py_TYPE() on the pointer via the PyList_Check() macro, thus accessing (NULL)->ob_type
found 5 similar trace(s) to this
565 }
566 g_list_free (features);
567
568 return list;
569 }