summaryrefslogtreecommitdiffstatshomepage
path: root/py/objint.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objint.c')
-rw-r--r--py/objint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint.c b/py/objint.c
index 4a4a21aaf3..0fb2a38262 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -137,7 +137,7 @@ void mp_obj_int_print(void (*print)(void *env, const char *fmt, ...), void *env,
print(env, "%s", str);
if (buf != stack_buf) {
- m_free(buf, buf_size);
+ m_del(char, buf, buf_size);
}
}