1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-03 12:11:33 +01: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. */ /* Allocate. */
description_new = gcry_malloc (description_new_length + 1); description_new = xtrymalloc (description_new_length + 1);
if (! description_new) if (! description_new)
{ {
err = gpg_error_from_errno (errno); err = gpg_error_from_errno (errno);