} while ((curr = next) != nsnull);
curr = next; }
PrefNameBuffer::FreeAllBuffers(){    PrefNameBuffer *curr = gRoot;    PrefNameBuffer *next;    do {        next = curr->mNext;        delete curr;    } while ((curr = next) != nsnull);    gRoot = nsnull;}