summaryrefslogtreecommitdiffstats
path: root/sm/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/import.c')
-rw-r--r--sm/import.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/import.c b/sm/import.c
index 71cefff65..6a012ca66 100644
--- a/sm/import.c
+++ b/sm/import.c
@@ -773,8 +773,9 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader,
es_fclose (fp);
if (pid != -1)
{
- if (!gnupg_wait_process (pgmname, pid, NULL))
+ if (!gnupg_wait_process (pgmname, pid, 0, NULL))
child_err = 0;
+ gnupg_release_process (pid);
}
if (!err)
err = child_err;