File: src/extensions/shmmodule.c
Function: PyShm_getshmid
Error: ob_refcnt of PyIntObject is 1 too high
1028 static PyObject *
1029 PyShm_getshmid(
1030     PyObject *self,
1031     PyObject *args)
1032 {
1033     long key;
1034     int shmid;
1035 
1036     if (!PyArg_ParseTuple(args, "l", &key))
when PyArg_ParseTuple() succeeds
taking False path
1037 	return NULL;
1038     shmid = shmget((key_t)key, 0, 0);
1039     if (shmid == -1) {
when considering value == (int)-1 from src/extensions/shmmodule.c:1038
taking True path
1040 	PyErr_SetObject(PyExc_KeyError, PyInt_FromLong(key));
when PyInt_FromLong() succeeds
calling PyErr_SetObject()
PyIntObject allocated at: 	PyErr_SetObject(PyExc_KeyError, PyInt_FromLong(key));
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
1041 	return NULL;
1042     }
1043     return PyInt_FromLong(shmid);
1044 }
ob_refcnt of PyIntObject is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1