[WIN32SS] Addendum to r74312 and r74309, fix some bad memory leaks. CORE-10876