fix(runtime/object): missing free
This commit is contained in:
parent
b2f3d3f456
commit
fb00f9a780
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ inline void dealloc(object * o) {
|
|||
switch (get_kind(o)) {
|
||||
case object_kind::External: dealloc_external(o); break;
|
||||
case object_kind::MPZ: dealloc_mpz(o); break;
|
||||
default: break;
|
||||
default: free(o); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue