gcr/gcr-bsc932232-use-libgcrypt-allocators.patch

17 lines
723 B
Diff
Raw Normal View History

diff --git a/egg/egg-libgcrypt.c b/egg/egg-libgcrypt.c
index 0ba84fe..cca36f1 100644
--- a/egg/egg-libgcrypt.c
+++ b/egg/egg-libgcrypt.c
@@ -71,11 +71,6 @@ egg_libgcrypt_initialize (void)
gcry_set_log_handler (log_handler, NULL);
gcry_set_outofcore_handler (no_mem_handler, NULL);
gcry_set_fatalerror_handler (fatal_handler, NULL);
- gcry_set_allocation_handler ((gcry_handler_alloc_t)g_malloc,
- (gcry_handler_alloc_t)egg_secure_alloc,
- egg_secure_check,
- (gcry_handler_realloc_t)egg_secure_realloc,
- egg_secure_free);
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
}