diff options
Diffstat (limited to 'py/objfun.c')
| -rw-r--r-- | py/objfun.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objfun.c b/py/objfun.c index bf11b5e6a..cefc9a95f 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -58,7 +58,7 @@ mp_obj_t fun_native_call_n(mp_obj_t self_in, int n_args, const mp_obj_t *args) {          }          mp_obj_t res = ((mp_fun_var_t)self->fun)(n_args, args_ordered); -        m_free(args_ordered); +        m_del(mp_obj_t, args_ordered, n_args);          return res;      }  | 
