Cleaned up memory allocation by Win initialization.