Fix a refleak in c82451eeb595.
This commit is contained in:
parent
6cea65555c
commit
93b7d7e4b9
|
@ -292,9 +292,7 @@ compare_digest(PyObject *self, PyObject *args)
|
|||
PyBuffer_Release(&view_b);
|
||||
}
|
||||
|
||||
result = PyBool_FromLong(rc);
|
||||
Py_INCREF(result);
|
||||
return result;
|
||||
return PyBool_FromLong(rc);
|
||||
}
|
||||
|
||||
/* operator methods **********************************************************/
|
||||
|
|
Loading…
Reference in New Issue