diff options
author | Werner Koch <[email protected]> | 2020-03-03 13:17:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-03-03 13:22:10 +0000 |
commit | 178b3772ff79148b496715da1b8ca5ba86caf2bc (patch) | |
tree | 1d8afdebe31f78aeb2dbe758517ae79ad49cf218 /common/miscellaneous.c | |
parent | card: Add yet another vendor. (diff) | |
download | gnupg-178b3772ff79148b496715da1b8ca5ba86caf2bc.tar.gz gnupg-178b3772ff79148b496715da1b8ca5ba86caf2bc.zip |
gpgconf: Always use xmalloc.
* tools/gpgconf-comp.c: Fix spelling of "cannot". Use log_assert
instead of a plain assert.
(gc_percent_escape, percent_deescape): Fail on malloc error.
--
It does not make sense to use xtryalloc and failing then anyway. We
also should use our wrappers and not a plain realloc. Everywhere
elese we use the non-formal "can't" so it is better to do the same
here.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/miscellaneous.c')
0 files changed, 0 insertions, 0 deletions