1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-10 23:49:50 +02:00

Use xtrymalloc instead of gcry_malloc.

This commit is contained in:
Moritz Schulte 2004-10-01 23:09:46 +00:00
parent eaed17fc95
commit 3b8a2e188f

View File

@ -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);