Searched refs:destroyPath (Results 1 – 1 of 1) sorted by relevance
486 char *destroyPath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in DestroyType() local487 HKS_IF_NULL_RETURN(destroyPath, HKS_ERROR_MALLOC_FAIL) in DestroyType() local489 (void)memset_s(destroyPath, HKS_MAX_FILE_NAME_LEN, 0, HKS_MAX_FILE_NAME_LEN); in DestroyType()491 int32_t ret = GetPath(storePath, typePath, destroyPath, HKS_MAX_FILE_NAME_LEN, bakFlag); in DestroyType()494 HKS_FREE(destroyPath); in DestroyType()498 ret = HksIsDirExist(destroyPath); in DestroyType()500 HKS_FREE(destroyPath); in DestroyType()504 ret = HksRemoveDir(destroyPath); in DestroyType()507 HKS_FREE(destroyPath); in DestroyType()