summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtuple.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objtuple.c')
-rw-r--r--py/objtuple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objtuple.c b/py/objtuple.c
index 55358a66a0..d575decfd4 100644
--- a/py/objtuple.c
+++ b/py/objtuple.c
@@ -95,7 +95,7 @@ STATIC mp_obj_t mp_obj_tuple_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uin
}
mp_obj_t tuple = mp_obj_new_tuple(len, items);
- m_free(items, alloc);
+ m_del(mp_obj_t, items, alloc);
return tuple;
}