[perl #121676] Fix memory leak in backticks and system
authorSteve Hay <steve.m.hay@googlemail.com>
Tue, 13 May 2014 11:53:10 +0000 (12:53 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 14 May 2014 17:16:07 +0000 (18:16 +0100)
commit90674eaa88a3b2f52d8ac1b835c3505b25ff3f00
tree43ee93845a728c250d224eacaabf8ff596f8da21
parentdb93ece847ecae62a67dd3899f41f9625d05f011
[perl #121676] Fix memory leak in backticks and system

Introduced by perl #113536. It doesn't actually leak on Windows XP due to
differences in the implementation of GetEnvironmentStringsW() compared to
later OSes, but the missing FreeEnvironmentStrings() was technically wrong
anyway, and does now bite. Thanks for Daniel Dragan for finding this.
win32/win32.c