File: | snackmodule.c |
Function: | compactbuttonWidget |
Error: | dereferencing NULL (widget->co) at snackmodule.c:641 |
631 static snackWidget * compactbuttonWidget(PyObject * s, PyObject * args) {
632 snackWidget * widget;
633 char * label;
634
635 if (!PyArg_ParseTuple(args, "s", &label)) return NULL;
636
when PyArg_ParseTuple() succeeds
taking False path
637 widget = snackWidgetNew ();
638 widget->co = newtCompactButton(-1, -1, label);
when snackWidgetNew() fails
639
dereferencing NULL (widget->co) at snackmodule.c:641
640 return widget;
641 }
642