File: py_GeoIP.c
Function: GeoIP_SetItemInt
Error: calling PyDict_SetItem with NULL as argument 3 (valueObj) at py_GeoIP.c:227
221 void GeoIP_SetItemInt(PyObject *dict, const char * name, int value) {
222 	PyObject * nameObj;
223 	PyObject * valueObj;
224 	nameObj = Py_BuildValue("s",name);
225 	valueObj = Py_BuildValue("i",value);
when Py_BuildValue() succeeds
226 	PyDict_SetItem(dict,nameObj,valueObj);
when Py_BuildValue() fails
227 	Py_DECREF(nameObj);
calling PyDict_SetItem with NULL as argument 3 (valueObj) at py_GeoIP.c:227
PyDict_SetItem() invokes Py_INCREF() on the pointer, thus accessing (NULL)->ob_refcnt
228 	Py_DECREF(valueObj);
229 }
230 

File: py_GeoIP.c
Function: GeoIP_SetItemInt
Error: calling PyDict_SetItem with NULL as argument 2 (nameObj) at py_GeoIP.c:227
221 void GeoIP_SetItemInt(PyObject *dict, const char * name, int value) {
222 	PyObject * nameObj;
223 	PyObject * valueObj;
224 	nameObj = Py_BuildValue("s",name);
225 	valueObj = Py_BuildValue("i",value);
when Py_BuildValue() fails
226 	PyDict_SetItem(dict,nameObj,valueObj);
when Py_BuildValue() succeeds
227 	Py_DECREF(nameObj);
calling PyDict_SetItem with NULL as argument 2 (nameObj) at py_GeoIP.c:227
PyDict_SetItem() invokes Py_TYPE() on the pointer via the PyString_CheckExact() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
228 	Py_DECREF(valueObj);
229 }
230