py: Use m_{new,renew,del} consistently.

This is so all memory requests go through the same interface.
This commit is contained in:
Damien George
2015-02-27 09:34:51 +00:00
parent eb0a7129a5
commit 4d77e1a034
7 changed files with 10 additions and 10 deletions

View File

@@ -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;
}