aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Schulte <[email protected]>2004-09-28 08:35:46 +0000
committerMoritz Schulte <[email protected]>2004-09-28 08:35:46 +0000
commit56e7cc7027e7959aed6786558442d9c6152e675e (patch)
treeb9a8de598867bd82e7c3cb383ab806ac5c85630b
parent*** empty log message *** (diff)
downloadgnupg-56e7cc7027e7959aed6786558442d9c6152e675e.tar.gz
gnupg-56e7cc7027e7959aed6786558442d9c6152e675e.zip
Use gcry_malloc instead of malloc where appropriate.
-rw-r--r--agent/findkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index cab3691e7..609d3bf47 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -188,7 +188,7 @@ modify_description (const char *description,
}
/* Allocate. */
- description_new = malloc (description_new_length + 1);
+ description_new = gcry_malloc (description_new_length + 1);
if (! description_new)
{
err = gpg_error_from_errno (errno);