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/pfenv.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/pfenv.c')
-rw-r--r-- | py/pfenv.c | 2 |
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; } |