コード例 #1
0
ファイル: bulk.c プロジェクト: davidleake/FreeRDP
void bulk_free(rdpBulk* bulk)
{
    if (!bulk)
        return;

    mppc_context_free(bulk->mppcSend);
    mppc_context_free(bulk->mppcRecv);
    ncrush_context_free(bulk->ncrushRecv);
    ncrush_context_free(bulk->ncrushSend);
    xcrush_context_free(bulk->xcrushRecv);
    xcrush_context_free(bulk->xcrushSend);
    free(bulk);
}
コード例 #2
0
ファイル: xcrush.c プロジェクト: BrianChangchien/FiWoRDC
void xcrush_context_free(XCRUSH_CONTEXT* xcrush)
{
	if (xcrush)
	{
		mppc_context_free(xcrush->mppc);
		free(xcrush);
	}
}