PR_ASSERT(prebuffer.arena); if (!prebuffer.arena) {
PORT_Assert(prebuffer.arena); if (!prebuffer.arena) {
PreAllocator* PreAllocator_Create(PRSize size){    PreAllocator prebuffer;    PreAllocator* prepointer = NULL;    memset(&prebuffer, 0, sizeof(PreAllocator));    prebuffer.len = size;    prebuffer.arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);    PR_ASSERT(prebuffer.arena);    if (!prebuffer.arena) {        PreAllocator_Destroy(&prebuffer);        return NULL;    }    if (prebuffer.len) {        prebuffer.data = PR_Malloc(prebuffer.len);        if (!prebuffer.data) {            PreAllocator_Destroy(&prebuffer);            return NULL;        }    } else {        prebuffer.data = NULL;    }    prepointer = (PreAllocator*)PR_Malloc(sizeof(PreAllocator));    if (!prepointer) {        PreAllocator_Destroy(&prebuffer);        return NULL;    }    *prepointer = prebuffer;    return prepointer;}