mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-27 15:47:05 +01:00
Use gcry_malloc instead of malloc where appropriate.
This commit is contained in:
parent
06e5334817
commit
56e7cc7027
@ -188,7 +188,7 @@ modify_description (const char *description,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate. */
|
/* Allocate. */
|
||||||
description_new = malloc (description_new_length + 1);
|
description_new = gcry_malloc (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