File: pwquality.c
Function: pwqsettings_setint
Error: ob_refcnt of new ref from (unknown) pwqerror is 1 too high
235 static int
236 pwqsettings_setint(PWQSettings *self, PyObject *value, void *setting)
237 {
238         long l;
239         int rc;
240 
241         l = PyInt_AsLong(value);
when PyInt_AsLong() succeeds
242         if (PyErr_Occurred() == NULL) {
PyErr_Occurred()
taking True path
243                 if ((rc = pwquality_set_int_value(self->pwq,
when considering range: -0x80000000 <= value <= -1
taking True path
244                         (int)(ssize_t)setting, (int)l)) < 0) {
245                         pwqerror(rc, NULL);
when pwqerror() succeeds
new ref from (unknown) pwqerror allocated at:                         pwqerror(rc, NULL);
ob_refcnt is now refs: 1 + N where N >= 0
246                         return -1;
247                 }
248                 return 0;
249         }
250         return -1;
251 }
ob_refcnt of new ref from (unknown) pwqerror is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1