Skip to content

Commit 8f92e75

Browse files
committed
use flint_free
1 parent ff0fc23 commit 8f92e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flint/types/fmpz.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ cdef class fmpz(flint_scalar):
166166
try:
167167
res = str_from_chars(s)
168168
finally:
169-
libc.stdlib.free(s)
169+
flint_free(s)
170170
if condense > 0:
171171
res = _str_trunc(res, condense)
172172
return res

0 commit comments

Comments
 (0)