add: }  if( pd->m_ROMShadowBuffer != NULL ) { FreeMem( pd->m_ROMShadowBuffer, pd->m_ROMSize ); pd->m_ROMShadowBuffer = NULL;
context: UninstallPUH( struct PUHData* pd ){  if( pd == NULL )  {    return;  }  if( pd->m_Active )  {    RestoreMemory( pd );  }  if( pd->m_SuperException != NULL )  {    DeactivateException( pd->m_SuperException );    RemContextHook( pd->m_SuperException );    pd->m_SuperException = NULL;  }  if( pd->m_UserException != NULL )  {    DeactivateException( pd->m_UserException );    RemContextHook( pd->m_UserException );    pd->m_UserException = NULL;  }    pd->m_Flags  = 0L;  pd->m_Active = FALSE;}