Free memory allocated for transactional operations.