Clean up memory allocated for Win structs.