From 95622ca964ab37dff95e48d9d49c943df06b30d5 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 23 Oct 2022 19:19:30 +0200 Subject: Forgot a bunch of other box_ malloc/realloc/calloc/free use --- src/include/khash.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include/khash.h') diff --git a/src/include/khash.h b/src/include/khash.h index dfce7aff..9d20a0e6 100755 --- a/src/include/khash.h +++ b/src/include/khash.h @@ -167,16 +167,16 @@ typedef khint_t khiter_t; #endif #ifndef kcalloc -#define kcalloc(N,Z) calloc(N,Z) +#define kcalloc(N,Z) box_calloc(N,Z) #endif #ifndef kmalloc -#define kmalloc(Z) malloc(Z) +#define kmalloc(Z) box_malloc(Z) #endif #ifndef krealloc -#define krealloc(P,Z) realloc(P,Z) +#define krealloc(P,Z) box_realloc(P,Z) #endif #ifndef kfree -#define kfree(P) free(P) +#define kfree(P) box_free(P) #endif static const double __ac_HASH_UPPER = 0.77; -- cgit 1.4.1