Hi,
In Com_init a critical section 'OpenCS' is initialised early on, if one
of the CreateEvents that follow fail then the control structure,
pserialhead
points to is freed with LocalFree(pserialhead). However the criticalsection
is not deleted. This is only done when Com_deinit is called which happens
later on in Com_init when certain things fail. What am i missing?