Searched refs:bufTmp (Results 1 – 1 of 1) sorted by relevance
79 char *bufTmp = (char *)malloc(strLength + 1); in ReadStringItem() local80 if (bufTmp == NULL) { in ReadStringItem()84 if (strLength > 0 && memcpy_s(bufTmp, strLength, strPtr, strLength) != EOK) { in ReadStringItem()85 free(bufTmp); in ReadStringItem()86 bufTmp = NULL; in ReadStringItem()90 bufTmp[strLength] = '\0'; in ReadStringItem()91 *buf = bufTmp; in ReadStringItem()