本文整理汇总了C++中LwFreeMemory函数的典型用法代码示例。如果您正苦于以下问题:C++ LwFreeMemory函数的具体用法?C++ LwFreeMemory怎么用?C++ LwFreeMemory使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了LwFreeMemory函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: LsaFreeConsoleLogInfo
VOID
LsaFreeConsoleLogInfo(
PLSA_CONSOLE_LOG pConsoleLog
)
{
LwFreeMemory(pConsoleLog);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:7,代码来源:consolelog.c
示例2: FreeLWIUser
void
FreeLWIUser(PLWIUSER pLWIUser)
{
if (pLWIUser)
{
if (pLWIUser->pw_name)
LW_SAFE_FREE_STRING(pLWIUser->pw_name);
if (pLWIUser->pw_display_name)
LW_SAFE_FREE_STRING(pLWIUser->pw_display_name);
if (pLWIUser->pw_name_as_queried)
LW_SAFE_FREE_STRING(pLWIUser->pw_name_as_queried);
if (pLWIUser->pw_passwd)
LW_SAFE_FREE_STRING(pLWIUser->pw_passwd);
if (pLWIUser->pw_class)
LW_SAFE_FREE_STRING(pLWIUser->pw_class);
if (pLWIUser->pw_gecos)
LW_SAFE_FREE_STRING(pLWIUser->pw_gecos);
if (pLWIUser->pw_nfs_home_dir)
LW_SAFE_FREE_STRING(pLWIUser->pw_nfs_home_dir);
if (pLWIUser->pw_home_dir)
LW_SAFE_FREE_STRING(pLWIUser->pw_home_dir);
if (pLWIUser->pw_orig_home_dir)
LW_SAFE_FREE_STRING(pLWIUser->pw_orig_home_dir);
if (pLWIUser->pw_orig_nfs_home_dir)
LW_SAFE_FREE_STRING(pLWIUser->pw_orig_nfs_home_dir);
if (pLWIUser->pw_shell)
LW_SAFE_FREE_STRING(pLWIUser->pw_shell);
if (pLWIUser->pMCXValues)
FreeMCXValueList(pLWIUser->pMCXValues);
if (pLWIUser->padUserInfo)
FreeADUserInfo(pLWIUser->padUserInfo);
LwFreeMemory(pLWIUser);
}
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:35,代码来源:LWIUser.cpp
示例3: AD_GroupExpansionDataDestroy
VOID
AD_GroupExpansionDataDestroy(
IN OUT PLSA_AD_GROUP_EXPANSION_DATA pExpansionData
)
{
if (pExpansionData)
{
if (pExpansionData->pGroupsToExpand)
{
pExpansionData->pGroupsToExpand->fnFree = AD_FreeHashObject;
}
if (pExpansionData->pExpandedGroups)
{
pExpansionData->pExpandedGroups->fnFree = AD_FreeHashObject;
}
if (pExpansionData->pUsers)
{
pExpansionData->pUsers->fnFree = AD_FreeHashObject;
}
LwHashSafeFree(&pExpansionData->pGroupsToExpand);
LwHashSafeFree(&pExpansionData->pExpandedGroups);
LwHashSafeFree(&pExpansionData->pUsers);
LwFreeMemory(pExpansionData);
}
}
开发者ID:bhanug,项目名称:likewise-open,代码行数:25,代码来源:offline-helper.c
示例4: LsaFreeStatus
VOID
LsaFreeStatus(
PLSASTATUS pLsaStatus
)
{
DWORD iCount = 0;
for (iCount = 0; iCount < pLsaStatus->dwCount; iCount++)
{
PLSA_AUTH_PROVIDER_STATUS pStatus =
&pLsaStatus->pAuthProviderStatusList[iCount];
LW_SAFE_FREE_STRING(pStatus->pszId);
LW_SAFE_FREE_STRING(pStatus->pszDomain);
LW_SAFE_FREE_STRING(pStatus->pszForest);
LW_SAFE_FREE_STRING(pStatus->pszSite);
LW_SAFE_FREE_STRING(pStatus->pszCell);
if (pStatus->pTrustedDomainInfoArray)
{
LsaFreeDomainInfoArray(
pStatus->dwNumTrustedDomains,
pStatus->pTrustedDomainInfoArray);
}
}
LW_SAFE_FREE_MEMORY(pLsaStatus->pAuthProviderStatusList);
LwFreeMemory(pLsaStatus);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:30,代码来源:lsastatus.c
示例5: LsaDataBlobFree
VOID
LsaDataBlobFree(
PLSA_DATA_BLOB *ppBlob
)
{
if (ppBlob && *ppBlob)
{
if ((*ppBlob)->pData)
{
LwFreeMemory((*ppBlob)->pData);
}
LwFreeMemory(*ppBlob);
*ppBlob = NULL;
}
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:16,代码来源:datablob.c
示例6: LwTaskQueueFree
VOID
LwTaskQueueFree(
PLW_TASK_QUEUE pQueue
)
{
LwFreeMemory(pQueue);
}
开发者ID:twistround,项目名称:pbis,代码行数:7,代码来源:queue.c
示例7: LwTaskFreeConsoleLogInfo
VOID
LwTaskFreeConsoleLogInfo(
PLW_TASK_CONSOLE_LOG pConsoleLog
)
{
LwFreeMemory(pConsoleLog);
}
开发者ID:twistround,项目名称:pbis,代码行数:7,代码来源:consolelog.c
示例8: LwSmTableFreeEntry
static
VOID
LwSmTableFreeEntry(
PSM_TABLE_ENTRY pEntry
)
{
if (pEntry->pVtbl)
{
pEntry->pVtbl->pfnDestruct(&pEntry->object);
}
if (pEntry->pInfo)
{
LwSmCommonFreeServiceInfo(pEntry->pInfo);
}
if (pEntry->pLock)
{
pthread_mutex_destroy(pEntry->pLock);
}
if (pEntry->pEvent)
{
pthread_cond_destroy(pEntry->pEvent);
}
LwFreeMemory(pEntry);
}
开发者ID:twistround,项目名称:pbis,代码行数:28,代码来源:table.c
示例9: LwTaskFreeCreds
VOID
LwTaskFreeCreds(
PLW_TASK_CREDS pCreds /* IN OUT */
)
{
if (pCreds->pKrb5Creds != NULL)
{
LwIoDeleteCreds(pCreds->pKrb5Creds);
}
if (pCreds->pszRestoreCache)
{
LwKrb5SetDefaultCachePath(pCreds->pszRestoreCache, NULL);
LwFreeString(pCreds->pszRestoreCache);
}
if (pCreds->ctx != NULL)
{
if (pCreds->cc != NULL)
{
krb5_cc_destroy(pCreds->ctx, pCreds->cc);
}
krb5_free_context(pCreds->ctx);
}
LwFreeMemory(pCreds);
}
开发者ID:twistround,项目名称:pbis,代码行数:29,代码来源:krb5.c
示例10: LsaEndEnumGroups
LSASS_API
DWORD
LsaEndEnumGroups(
HANDLE hLsaConnection,
HANDLE hResume
)
{
DWORD dwError = 0;
PLSA_CLIENT_ENUM_GROUPS_HANDLE pEnum = hResume;
if (pEnum)
{
if (pEnum->hEnum)
{
dwError = LsaCloseEnum(hLsaConnection, pEnum->hEnum);
}
if (pEnum->ppObjects)
{
LsaUtilFreeSecurityObjectList(pEnum->dwObjectCount, pEnum->ppObjects);
}
LwFreeMemory(pEnum);
}
return dwError;
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:27,代码来源:groups.c
示例11: LwTaskFreeLogInfo
VOID
LwTaskFreeLogInfo(
PLW_TASK_LOG_INFO pLogInfo
)
{
LW_SAFE_FREE_STRING(pLogInfo->pszPath);
LwFreeMemory(pLogInfo);
}
开发者ID:twistround,项目名称:pbis,代码行数:8,代码来源:lwtaskloginfo.c
示例12: LsaFreeEnumObjectsInfo
VOID
LsaFreeEnumObjectsInfo(
PLSA_ENUM_OBJECTS_INFO pInfo
)
{
LW_SAFE_FREE_STRING(pInfo->pszGUID);
LwFreeMemory(pInfo);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:8,代码来源:groups.c
示例13: LsaPamFreeConfig
VOID
LsaPamFreeConfig(
PLSA_PAM_CONFIG pConfig
)
{
LsaPamFreeConfigContents(pConfig);
LwFreeMemory(pConfig);
}
开发者ID:numberer6,项目名称:likewise-open-1,代码行数:8,代码来源:pam-config.c
示例14: LocalCfgFree
VOID
LocalCfgFree(
PLOCAL_CONFIG pConfig
)
{
LocalCfgFreeContents(pConfig);
LwFreeMemory(pConfig);
}
开发者ID:bhanug,项目名称:likewise-open,代码行数:8,代码来源:lpcfg.c
示例15: ADProviderFreeCellInfo
VOID
ADProviderFreeCellInfo(
IN OUT PAD_LINKED_CELL_INFO pCell
)
{
LW_SAFE_FREE_STRING(pCell->pszCellDN);
LW_SAFE_FREE_STRING(pCell->pszDomain);
LwFreeMemory(pCell);
}
开发者ID:borland667,项目名称:pbis,代码行数:9,代码来源:providerstate.c
示例16: LsaNISFreeNickname
static
VOID
LsaNISFreeNickname(
PLSA_NIS_NICKNAME pNickname
)
{
LW_SAFE_FREE_STRING(pNickname->pszMapAlias);
LW_SAFE_FREE_STRING(pNickname->pszMapName);
LwFreeMemory(pNickname);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:10,代码来源:nisnicknames.c
示例17: LsaFreeGroupInfo_0
static
void
LsaFreeGroupInfo_0(
PLSA_GROUP_INFO_0 pGroupInfo
)
{
LW_SAFE_FREE_STRING(pGroupInfo->pszName);
LW_SAFE_FREE_STRING(pGroupInfo->pszSid);
LwFreeMemory(pGroupInfo);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:10,代码来源:lsagroupinfo.c
示例18: LsaFreeGroupModInfo2
void
LsaFreeGroupModInfo2(
PLSA_GROUP_MOD_INFO_2 pGroupModInfo
)
{
LW_SAFE_FREE_STRING(pGroupModInfo->pszSid);
LwFreeStringArray(pGroupModInfo->ppszAddMembers, pGroupModInfo->dwAddMembersNum);
LwFreeStringArray(pGroupModInfo->ppszRemoveMembers, pGroupModInfo->dwRemoveMembersNum);
LwFreeMemory(pGroupModInfo);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:10,代码来源:lsagroupinfo.c
示例19: LsaFreeDCInfo
VOID
LsaFreeDCInfo(
PLSA_DC_INFO pDCInfo
)
{
LW_SAFE_FREE_STRING(pDCInfo->pszAddress);
LW_SAFE_FREE_STRING(pDCInfo->pszName);
LW_SAFE_FREE_STRING(pDCInfo->pszSiteName);
LwFreeMemory(pDCInfo);
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:10,代码来源:dcinfo.c
示例20: LsaImplFreeMachineAccountInfoW
VOID
LsaImplFreeMachineAccountInfoW(
IN PLSA_MACHINE_ACCOUNT_INFO_W pAccountInfo
)
{
if (pAccountInfo)
{
LsaImplFreeMachineAccountInfoContentsW(pAccountInfo);
LwFreeMemory(pAccountInfo);
}
}
开发者ID:FarazShaikh,项目名称:LikewiseSMB2,代码行数:11,代码来源:machinepwdinfo-impl.c
注:本文中的LwFreeMemory函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论