common: Fix error handling.
authorJustus Winter <justus@g10code.com>
Mon, 5 Sep 2016 13:33:51 +0000 (15:33 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 5 Sep 2016 15:26:50 +0000 (17:26 +0200)
commit845e2cc201d6a2cdb151e39e29516d26cb49311c
treeb82aeeae16f8df7ada1c7f5590ef756bdfa5dafe
parent9082bde01cc18e32504ce39d55ea6dd3c05dddec
common: Fix error handling.

* common/exechelp-posix.c (store_result): Use xtrymalloc.
(gnupg_wait_processes): Likewise, and check result.

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