wrowe 2002/09/15 14:35:22
Modified: misc/win32 start.c
Log:
Kill a small and mostly insignificant leak.
Revision Changes Path
1.41 +2 -0 apr/misc/win32/start.c
Index: start.c
===================================================================
RCS file: /home/cvs/apr/misc/win32/start.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- start.c 20 Aug 2002 18:32:09 -0000 1.40
+++ start.c 15 Sep 2002 21:35:22 -0000 1.41
@@ -173,6 +173,8 @@
else {
}
+ FreeEnvironmentStringsW(sysstr);
+
/* MSVCRT will attempt to maintain the wide environment calls
* on _putenv(), which is bogus if we've passed a non-ascii
* string to _putenv(), since they use MultiByteToWideChar