From 51c1d04c638c89b1126c4e99ff8ec676e2e7909d Mon Sep 17 00:00:00 2001 From: huangxiaolinabc123 Date: Fri, 17 Feb 2023 01:58:46 +0000 Subject: [PATCH] modify code Signed-off-by: huangxiaolinabc123 Change-Id: Ib7e4658d4a12744ff989c8c626c37165765b9fc6 --- samgr_endpoint/source/default_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/samgr_endpoint/source/default_client.c b/samgr_endpoint/source/default_client.c index b624227..7ef1ace 100644 --- a/samgr_endpoint/source/default_client.c +++ b/samgr_endpoint/source/default_client.c @@ -245,6 +245,7 @@ static SvcIdentity QueryIdentity(const IpcContext *context, const char *service, BinderAcquire(svc->ipcContext, svc->handle); #endif target = *svc; + free(svc); } } if (ret == EC_PERMISSION) { -- Gitee