From: Wolfgang (Blub) Bumiller Date: Thu, 15 Nov 2012 20:18:31 +0000 (+0100) Subject: Fix a typo causing NOTRACK to fail X-Git-Tag: 0.1~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=df61f3c182714187842c3f1cdfe523523176e12e;p=xonotic%2Fgmqcc.git Fix a typo causing NOTRACK to fail --- 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__)