summaryrefslogtreecommitdiffstatshomepage
path: root/py/pfenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/pfenv.c')
-rw-r--r--py/pfenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pfenv.c b/py/pfenv.c
index 09ca0ef80e..8bc42dcdf9 100644
--- a/py/pfenv.c
+++ b/py/pfenv.c
@@ -308,7 +308,7 @@ int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int
}
if (buf != stack_buf) {
- m_free(buf, buf_size);
+ m_del(char, buf, buf_size);
}
return len;
}