update frameworks/src/standard/ipc_adapt.cpp.

Signed-off-by: chenzhengyue <chenzhengyue@huawei.com>
This commit is contained in:
陈正跃 2022-01-17 08:56:59 +00:00 committed by Gitee
parent b23d46f7a7
commit 4ab1a10e6e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -113,7 +113,7 @@ void DeInitIpcCallBackList(void)
for (i = 0; i < IPC_CALL_BACK_MAX_NODES; i++) {
ResetIpcCallBackNode(g_ipcCallBackList.ctx[i]);
}
delete g_ipcCallBackList.ctx;
delete[] g_ipcCallBackList.ctx;
g_ipcCallBackList.ctx = nullptr;
return;
}