DEALLOCATE statements during @finish_block.

This plugs a long-standing memory leak!