1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-26 15:37:03 +01:00

Use gcry_malloc instead of malloc where appropriate.

This commit is contained in:
Moritz Schulte 2004-09-28 08:35:46 +00:00
parent 06e5334817
commit 56e7cc7027

View File

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