mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
common: Close input stream.
* common/exechelp-posix.c (gnupg_spawn_process): Also close the input stream in the child. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
8f79c31b4d
commit
d36f664bfd
@ -523,6 +523,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
|
||||
{
|
||||
/* This is the child. */
|
||||
gcry_control (GCRYCTL_TERM_SECMEM);
|
||||
es_fclose (infp);
|
||||
es_fclose (outfp);
|
||||
es_fclose (errfp);
|
||||
do_exec (pgmname, argv, inpipe[0], outpipe[1], errpipe[1],
|
||||
|
Loading…
x
Reference in New Issue
Block a user