]> git.ipfire.org Git - thirdparty/make.git/commit
Fix memory leak during environment option decoding.
authorPaul Smith <psmith@gnu.org>
Sun, 24 Nov 2013 08:45:02 +0000 (03:45 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 24 Nov 2013 08:45:02 +0000 (03:45 -0500)
commitf8905059c3caba75fcbf6481ae6cc2b2eefdd67f
tree91505684b88bd67572437eaf0181f330cc2a4732
parent12a3104c3d0cbb0e2a0c3e0eed6fe4793d7d2629
Fix memory leak during environment option decoding.

* main.c (decode_switches): Always make a copy of option arguments.
(decode_env_switches): Use a stack buffer to convert environment
switches for parsing.
main.c