Searched refs:linkArray (Results 1 – 1 of 1) sorted by relevance
30 NativeBinLink *linkArray = NULL; in ParseLinksJsonToCfgInfo() local35 linkArray = (NativeBinLink*)malloc(sizeof(NativeBinLink) * linkArrayNum); in ParseLinksJsonToCfgInfo()36 if (linkArray == NULL) { in ParseLinksJsonToCfgInfo()43 free(linkArray); in ParseLinksJsonToCfgInfo()49 free(linkArray); in ParseLinksJsonToCfgInfo()52 if (strcpy_s(linkArray[i].source, MAX_FILE_PATH_LEN, sourceItem->valuestring) != EOK) { in ParseLinksJsonToCfgInfo()54 free(linkArray); in ParseLinksJsonToCfgInfo()57 linkArray[i].target[0] = '\0'; //允许target不填,软链接默认使用原二进制名称 in ParseLinksJsonToCfgInfo()60 … (strcpy_s(linkArray[i].target, MAX_FILE_PATH_LEN, targetItem->valuestring) != EOK)) { in ParseLinksJsonToCfgInfo()62 free(linkArray); in ParseLinksJsonToCfgInfo()[all …]