---
title: releaseOutput
description: 在计算完成后用于释放DG_TeeMatOutput。
url: "https://www.hikunpeng.com/document/detail/zh/kunpengcctrustzone/tee/kcal/kunpeng_kcal_16_0089.html"
---

# releaseOutput

在计算完成后用于释放DG_TeeMatOutput。

```
void ReleaseOutput(
DG_TeeMatOutput **output
)
```

#### 参数

| 参数名 | 描述 | 取值范围 | 输入/输出 |
| --- | --- | --- | --- |
| DG\_TeeMatOutput | 承载计算结果 | 一级指针和二级指针不能为NULL | 输入 |


#### 返回值

无。


#### 错误码

无。


#### 依赖

依赖调用reveal的返回结果。


#### 示例

和revealShare配套使用。


```
#include  "data_guard_mpc.h"
DG_TeeMatOutput *output = nullptr;
int res = aritOpts.revealShare(dgTee, share_out, &output);
aritOpts.releaseOutput(&share1);
```

计算结果：无返回值。
