aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Schulte <[email protected]>2004-10-01 23:09:46 +0000
committerMoritz Schulte <[email protected]>2004-10-01 23:09:46 +0000
commit3b8a2e188fb885311098e15cae2068a6e05e8469 (patch)
treebe9083961384c338a1922f577e2ac8f5b8770f1d
parentUpdated from HEAD. (diff)
downloadgnupg-3b8a2e188fb885311098e15cae2068a6e05e8469.tar.gz
gnupg-3b8a2e188fb885311098e15cae2068a6e05e8469.zip
Use xtrymalloc instead of gcry_malloc.
-rw-r--r--agent/findkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index 609d3bf47..58c4d26b6 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -188,7 +188,7 @@ modify_description (const char *description,
}
/* Allocate. */
- description_new = gcry_malloc (description_new_length + 1);
+ description_new = xtrymalloc (description_new_length + 1);
if (! description_new)
{
err = gpg_error_from_errno (errno);