Cleanup in heap source.