rvIterator = nss_ZNEW(list->arena, nssListIterator);
rvIterator = nss_ZNEW(NULL, nssListIterator);
nssList_CreateIterator(nssList *list){    nssListIterator *rvIterator;    rvIterator = nss_ZNEW(list->arena, nssListIterator);    if (!rvIterator) {	return NULL;    }    rvIterator->list = nssList_Clone(list);    if (!rvIterator->list) {	nss_ZFreeIf(rvIterator);	return NULL;    }    rvIterator->current = rvIterator->list->head;    if (list->lock) {	rvIterator->lock = PZ_NewLock(nssILockOther);	if (!rvIterator->lock) {	    nssList_Destroy(rvIterator->list);	    nss_ZFreeIf(rvIterator);	}    }    return rvIterator;}