From df61f3c182714187842c3f1cdfe523523176e12e Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 15 Nov 2012 21:18:31 +0100 Subject: [PATCH] Fix a typo causing NOTRACK to fail --- gmqcc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gmqcc.h b/gmqcc.h index d0a1e9c..9f330da 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -215,9 +215,9 @@ uint16_t util_crc16(uint16_t crc, const char *data, size_t len); uint32_t util_crc32(uint32_t crc, const char *data, size_t len); #ifdef NOTRACK -# define mem_a(x) malloc(x) -# define mem_d(x) free (x) -# define mem_r(x, n) free (x, n) +# define mem_a(x) malloc (x) +# define mem_d(x) free (x) +# define mem_r(x, n) realloc(x, n) #else # define mem_a(x) util_memory_a((x), __LINE__, __FILE__) # define mem_d(x) util_memory_d((x), __LINE__, __FILE__) -- 2.39.2