There was an error while loading. Please reload this page.
1 parent 23c5bb4 commit c018f57Copy full SHA for c018f57
1 file changed
Modules/_sha3/sha3module.c
@@ -474,8 +474,7 @@ SHA3_factory(PyObject *args, PyObject *kwdict, const char *fmt,
474
475
error:
476
if (newobj) {
477
- SHA3_clearstate(newobj->hash_state);
478
- /* self->lock is always NULL */
+ SHA3_dealloc(newobj);
479
}
480
if (data_obj) {
481
PyBuffer_Release(&buf);
0 commit comments