common/exechelp: Fix error handling.
authorJustus Winter <justus@g10code.com>
Tue, 19 Jan 2016 12:09:06 +0000 (13:09 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 23 Feb 2016 10:58:20 +0000 (11:58 +0100)
commitf5a4b6a3a39a2b78d33769184d6133d5e256e02c
tree27f44735e4c8008cdb3817690efa05e58d151c26
parentb0125ae9850973b89010517b1dbce04125a51d51
common/exechelp: Fix error handling.

* common/exechelp-w32.c (gnupg_spawn_process): Close the right handle.

Signed-off-by: Justus Winter <justus@g10code.com>
common/exechelp-w32.c