mirror of
https://github.com/python/cpython.git
synced 2025-11-13 23:46:24 +00:00
Fix a refleak in c82451eeb595.
This commit is contained in:
parent
6cea65555c
commit
93b7d7e4b9
1 changed files with 1 additions and 3 deletions
|
|
@ -292,9 +292,7 @@ compare_digest(PyObject *self, PyObject *args)
|
||||||
PyBuffer_Release(&view_b);
|
PyBuffer_Release(&view_b);
|
||||||
}
|
}
|
||||||
|
|
||||||
result = PyBool_FromLong(rc);
|
return PyBool_FromLong(rc);
|
||||||
Py_INCREF(result);
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* operator methods **********************************************************/
|
/* operator methods **********************************************************/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue