for (i = 0; i < cmsdigcx->digcnt; i++) { (*cmsdigcx->digobjs[i]->destroy)(cmsdigcx->digcxs[i], PR_TRUE);
for (i = 0; i < cmsdigcx->digcnt; i++, pair++) { if (pair->digcx) { (*pair->digobj->destroy)(pair->digcx, PR_TRUE);
NSS_CMSDigestContext_Cancel(NSSCMSDigestContext *cmsdigcx){    int i;    for (i = 0; i < cmsdigcx->digcnt; i++) {	(*cmsdigcx->digobjs[i]->destroy)(cmsdigcx->digcxs[i], PR_TRUE);#ifdef CMS_FIND_LEAK_MULTIPLE	--num_digests;#endif    }#ifdef CMS_FIND_LEAK_MULTIPLE    PORT_Assert(num_digests == 0 || !stop_on_err);#endif    if (cmsdigcx->digobjs) {	PORT_Free((void *)cmsdigcx->digobjs); /* cast away const */	cmsdigcx->digobjs = NULL;    }    if (cmsdigcx->digcxs) {	PORT_Free(cmsdigcx->digcxs);	cmsdigcx->digcxs = NULL;    }    PORT_Free(cmsdigcx);}