diff options
author | Damien <damien.p.george@gmail.com> | 2013-12-29 19:33:23 +0000 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-12-29 19:33:23 +0000 |
commit | 732407f1bf12364375162e8fb73816532a5d139c (patch) | |
tree | bf795d7bab01d6d603eec761affac7091be9606a /py/asmx64.c | |
parent | a1c8e5737cebba08909104d47c1dfd16ef80e6a1 (diff) |
Change memory allocation API to require size for free and realloc.
Diffstat (limited to 'py/asmx64.c')
-rw-r--r-- | py/asmx64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmx64.c b/py/asmx64.c index c7e3cdc84..2a11de207 100644 --- a/py/asmx64.c +++ b/py/asmx64.c @@ -128,7 +128,7 @@ void asm_x64_free(asm_x64_t* as, bool free_code) { g_array_free(as->label, true); } */ - m_free(as); + m_del_obj(asm_x64_t, as); } void asm_x64_start_pass(asm_x64_t *as, int pass) { |