diff options
author | Justus Winter <[email protected]> | 2016-06-30 09:46:38 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-06-30 13:31:37 +0000 |
commit | d4ede89981c769b0626ab2b37615da1d12a3b078 (patch) | |
tree | 41aa7bed984ffd2c166d70f602f8d4dee3aa834a /tests/gpgscm/main.c | |
parent | w32: Fix build. (diff) | |
download | gnupg-d4ede89981c769b0626ab2b37615da1d12a3b078.tar.gz gnupg-d4ede89981c769b0626ab2b37615da1d12a3b078.zip |
gpgscm: Use the allocator from libgcrypt.
* tests/gpgscm/main.c (main): Use the allocator from libgcrypt.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | tests/gpgscm/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gpgscm/main.c b/tests/gpgscm/main.c index adb4e33e7..5b3792eac 100644 --- a/tests/gpgscm/main.c +++ b/tests/gpgscm/main.c @@ -39,6 +39,7 @@ #include "../../common/logging.h" #include "../../common/strlist.h" #include "../../common/sysutils.h" +#include "../../common/util.h" /* The TinyScheme banner. Unfortunately, it isn't in the header file. */ @@ -236,7 +237,7 @@ main (int argc, char **argv) if (log_get_errorcount (0)) exit (2); - sc = scheme_init_new (); + sc = scheme_init_new_custom_alloc (gcry_malloc, gcry_free); if (! sc) { fprintf (stderr, "Could not initialize TinyScheme!\n"); return 2; |