From 50390da752667250d858d29a065b8e19d9bd96f7 Mon Sep 17 00:00:00 2001 From: tongkai0808fh Date: Tue, 21 May 2024 02:34:32 +0000 Subject: [PATCH] =?UTF-8?q?update=20interfaces/inner=5Fapi/syscap=5Finterf?= =?UTF-8?q?ace.c=EF=BC=8C=E5=88=A0=E5=8E=BB249=E8=A1=8CoutputArray?= =?UTF-8?q?=E7=BD=AE=E7=A9=BA=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tongkai0808fh --- interfaces/inner_api/syscap_interface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/inner_api/syscap_interface.c b/interfaces/inner_api/syscap_interface.c index cdd35e7..f5f224c 100644 --- a/interfaces/inner_api/syscap_interface.c +++ b/interfaces/inner_api/syscap_interface.c @@ -246,7 +246,6 @@ bool DecodePrivateSyscap(char *input, char (**output)[SINGLE_SYSCAP_LEN], int *o *bufferPos = '\0'; if (sprintf_s(*outputArray, SINGLE_SYSCAP_LEN, "SystemCapability.%s", buffer) == -1) { free(outputArray); - outputArray = NULL; return false; } bufferPos = buffer;