diff options
author | Damien George <damien.p.george@gmail.com> | 2015-02-27 09:34:51 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-02-27 09:34:51 +0000 |
commit | 4d77e1a0344aa22964b4db5a71181183431e9a53 (patch) | |
tree | e10ae14943938d6a847bc2b5c2dac79a19c91a10 /py/objtuple.c | |
parent | eb0a7129a5f795aa8277b3e754b35b467e609ae1 (diff) | |
download | micropython-4d77e1a0344aa22964b4db5a71181183431e9a53.tar.gz micropython-4d77e1a0344aa22964b4db5a71181183431e9a53.zip |
py: Use m_{new,renew,del} consistently.
This is so all memory requests go through the same interface.
Diffstat (limited to 'py/objtuple.c')
-rw-r--r-- | py/objtuple.c | 2 |
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; } |