do not leak process handles opened by fork_process/CreateProcess
commit4a14a7fc16fc8b63bbd9d65e3a627fc850178339
authorPeter Oberndorfer <kumbayo84@gmail.com>
Wed, 3 Aug 2011 19:36:10 +0000 (3 21:36 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 4 Aug 2011 23:08:09 +0000 (5 01:08 +0200)
tree689466005fa95d1a12459860d436b6bba62e66a8
parent0cf821c7fadabb7522c92d4371dcff2fe8d4b34f
do not leak process handles opened by fork_process/CreateProcess

Every time a file/folder was selected in explorer
1 or 2 process handles were leaked when executing git
to gathering information.

[jes: squashed in non-win32 compile fixes by Heiko Voigt]

Signed-off-by: Peter Oberndorfer <kumbayo84@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
common/exec.c
common/systeminfo.h
explorer/systeminfo.c