March 31, 2007
11:52 p.m.
"Peter Beutner" <p.beutner(a)gmx.net> wrote:
Make behaviour consistent with GetEnvironmentStringsA. Prevents crash for confused applications which first call GetEnvironmentStringsW and then want to free it with FreeEnvironmentStringsA.
This patch is wrong: http://blogs.msdn.com/matt_pietrek/archive/2004/08/25/220330.aspx Probably an exception handler should be added inside of RtlFreeHeap instead. -- Dmitry.