if (crlGenData->extensionEntry->nextUpdatedData) {
if (crlGenData->extensionEntry->extData) {
crlgen_destroyTempData(CRLGENGeneratorData *crlGenData){    if (crlGenData->contextId != CRLGEN_UNKNOWN_CONTEXT) {        switch(crlGenData->contextId) {          case CRLGEN_ISSUER_CONTEXT:          case CRLGEN_UPDATE_CONTEXT:          case CRLGEN_NEXT_UPDATE_CONTEXT:          case CRLGEN_CHANGE_RANGE_CONTEXT:              if (crlGenData->crlField->value)                  PORT_Free(crlGenData->crlField->value);              PORT_Free(crlGenData->crlField);              break;          case CRLGEN_ADD_CERT_CONTEXT:          case CRLGEN_RM_CERT_CONTEXT:              if (crlGenData->certEntry->certId)                  PORT_Free(crlGenData->certEntry->certId);              if (crlGenData->certEntry->revocationTime)                  PORT_Free(crlGenData->certEntry->revocationTime);              PORT_Free(crlGenData->certEntry);              break;          case CRLGEN_ADD_EXTENSION_CONTEXT:              if (crlGenData->extensionEntry->nextUpdatedData) {                  int i = 0;                  for (;i < crlGenData->extensionEntry->nextUpdatedData;i++)                      PORT_Free(*(crlGenData->extensionEntry->extData + i));                  PORT_Free(crlGenData->extensionEntry->extData);              }              PORT_Free(crlGenData->extensionEntry);              break;        }        crlGenData->contextId = CRLGEN_UNKNOWN_CONTEXT;    }}