]> err.no Git - moreutils/commit
optimisations and fix memory leak
authorJoey Hess <joey@kitenet.net>
Tue, 6 Jul 2010 18:55:22 +0000 (14:55 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 6 Jul 2010 18:55:22 +0000 (14:55 -0400)
commitb01a6aabcf738b3d86c0fce2164861f783ed37ca
treef39dfef2df22227fc12bca7e68311c21c4fd4f92
parentf597f10475a2e906b96e2856818632dbf66a61b5
optimisations and fix memory leak

Fork a child before calculating its parameters.
This avoids a minor memory leak; the parameter
array was allocated in the parent and never freed.
parallel.c