From 21a6bff8ac44bf57328c1902f823186f47ff8a25 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Mon, 23 Apr 2012 13:18:05 +0000 Subject: fix a W32 bug git-svn-id: svn://tug.org/texlive/trunk@26106 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/win32lib.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Build/source') diff --git a/Build/source/texk/kpathsea/win32lib.c b/Build/source/texk/kpathsea/win32lib.c index 7d32d4bdc20..4aafe218afe 100644 --- a/Build/source/texk/kpathsea/win32lib.c +++ b/Build/source/texk/kpathsea/win32lib.c @@ -1094,6 +1094,9 @@ int __cdecl win32_system(const char *cmd) *q = '\0'; av[3] = NULL; ret = spawnvp(_P_WAIT, av[0], av); + free(av[0]); + free(av[1]); + free(av[2]); return ret; } -- cgit v1.2.3