mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Use xtrymalloc instead of gcry_malloc.
This commit is contained in:
parent
eaed17fc95
commit
3b8a2e188f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue