Use a table to record all the allocators and deallocators.
With this table we can deallocate objects with the currect method.