aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);