Add release_mem()