De-allocated memory in buildhessian.