Skip to content

Commit 37cb7f3

Browse files
authored
Update Modules/blake2module.c
1 parent 9b40742 commit 37cb7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/blake2module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ static int
900900
py_blake2_clear(PyObject *op)
901901
{
902902
Blake2Object *self = (Blake2Object *)op;
903-
// The initialization function uses PyObject_New() but explicitly
903+
// The initialization function uses PyObject_GC_New() but explicitly
904904
// initializes the HACL* internal state to NULL before allocating
905905
// it. If an error occurs in the constructor, we should only free
906906
// states that were allocated (i.e. that are not NULL).

0 commit comments

Comments
 (0)