rem: if( pd->m_CustomShadowBuffer != NULL ) { FreeMem( pd->m_CustomShadowBuffer, pd->m_CustomSize ); }
context: FreePUH( struct PUHData* pd ){  if( pd != NULL )  {    DeactivatePUH( pd );    if( pd->m_CustomShadowBuffer != NULL )    {      FreeMem( pd->m_CustomShadowBuffer, pd->m_CustomSize );    }        FreeVec( pd );  }}