File: snackmodule.c
Function: scaleWidget
Error: dereferencing NULL (widget->co) at snackmodule.c:333
323 static PyObject * scaleWidget(PyObject * s, PyObject * args) {
324     snackWidget * widget;
325     int width, fullAmount;
326 
327     if (!PyArg_ParseTuple(args, "ii", &width, &fullAmount)) return NULL;
328 
when PyArg_ParseTuple() succeeds
taking False path
329     widget = snackWidgetNew ();
330     widget->co = newtScale(-1, -1, width, fullAmount);
when snackWidgetNew() fails
331 
dereferencing NULL (widget->co) at snackmodule.c:333
332     return (PyObject *) widget;
333 }
334