File: | snackmodule.c |
Function: | labelWidget |
Error: | dereferencing NULL (widget->co) at snackmodule.c:653 |
643 static snackWidget * labelWidget(PyObject * s, PyObject * args) {
644 char * label;
645 snackWidget * widget;
646
647 if (!PyArg_ParseTuple(args, "s", &label)) return NULL;
648
when PyArg_ParseTuple() succeeds
taking False path
649 widget = snackWidgetNew ();
650 widget->co = newtLabel(-1, -1, label);
when snackWidgetNew() fails
651
dereferencing NULL (widget->co) at snackmodule.c:653
652 return widget;
653 }
654