Use err_out label for error-case cleanup.