Home GnuPG
Diffusion GnuPG 8776abbe0293

common: Use new function to print a failure of xtrymalloc.
8776abbe0293Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common: Use new function to print a failure of xtrymalloc.

* common/miscellaneous.c (xoutofcore): New.
* common/strlist.c (append_to_strlist): Use instead of abort.
(append_to_strlist_try): Use xtrymalloc instead of xmalloc.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 25 2016, 5:26 PM
Parents
rGb8cb0973bcbe: common: Drop unused variables, fix warnings.
Branches
Unknown
Tags
Unknown

Event Timeline