Home GnuPG

w32:spawn: Fix resource leaks for HANDLEs by w32_open_null.

Description

w32:spawn: Fix resource leaks for HANDLEs by w32_open_null.

* src/spawn-w32.c (_gpgrt_process_spawn): Don't modify hd fields in
ACT.  Clean up use of hd_in, hd_out, and hd_err.
  • GnuPG-bug-id: T7716
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>