mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
nasmlib.h: nasm_zalloc() should call nasm_zalloc_log()
If we're doing logging, we need to call nasm_zalloc_log()
This commit is contained in:
parent
8271db6f1f
commit
e3b418b137
@ -98,7 +98,7 @@ void nasm_free_log(char *, int, void *);
|
||||
char *nasm_strdup_log(char *, int, const char *);
|
||||
char *nasm_strndup_log(char *, int, char *, size_t);
|
||||
#define nasm_malloc(x) nasm_malloc_log(__FILE__,__LINE__,x)
|
||||
#define nasm_zalloc(x) nasm_malloc_log(__FILE__,__LINE__,x)
|
||||
#define nasm_zalloc(x) nasm_zalloc_log(__FILE__,__LINE__,x)
|
||||
#define nasm_realloc(x,y) nasm_realloc_log(__FILE__,__LINE__,x,y)
|
||||
#define nasm_free(x) nasm_free_log(__FILE__,__LINE__,x)
|
||||
#define nasm_strdup(x) nasm_strdup_log(__FILE__,__LINE__,x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user