IssueNo:#I3IDB0

Description:Fix the problem that the interface does not reset the output parameter.
Sig:liteos_m
Feature or Bugfix:Bugfix
Binary Source:No

Change-Id: I9e6f7a6813c4eb70b22681fc6a4994eae44a1b64
This commit is contained in:
YOUR_NAME 2021-04-17 16:22:29 +08:00
parent d11a206619
commit d642d90a7d
1 changed files with 2 additions and 0 deletions

View File

@ -1897,6 +1897,8 @@ UINT32 LOS_MemInfoGet(VOID *pool, LOS_MEM_POOL_STATUS *poolStatus)
return LOS_NOK; return LOS_NOK;
} }
(VOID)memset_s(poolStatus, sizeof(LOS_MEM_POOL_STATUS), 0, sizeof(LOS_MEM_POOL_STATUS));
struct OsMemNodeHead *tmpNode = NULL; struct OsMemNodeHead *tmpNode = NULL;
struct OsMemNodeHead *endNode = NULL; struct OsMemNodeHead *endNode = NULL;
UINT32 intSave; UINT32 intSave;