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:
parent
eaed17fc95
commit
3b8a2e188f
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user