Skip to content
Snippets Groups Projects
Commit f985f7cd authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Removed debug malloc.

parent a7b37cd0
No related branches found
No related tags found
No related merge requests found
......@@ -163,5 +163,3 @@ src/zcompile/tests/zcompile_tests.c
src/zcompile/zcompile-error.c
src/dnslib/dname-table.h
src/dnslib/dname-table.c
src/dnslib/fmalloc.c
src/dnslib/fmalloc.h
......@@ -19,7 +19,6 @@
#define DNSLIB_NAME "dnslib" // Project name
#define DNSLIB_VER 0x000100 // 0xMMIIRR (MAJOR,MINOR,REVISION)
#include "dnslib/fmalloc.h"
typedef unsigned int uint;
......@@ -57,7 +56,6 @@ typedef unsigned int uint;
#define unlikely(x) __builtin_expect((x),0)
#endif
#define malloc(x) malloc_with_count(x)
/*! \todo Refactor theese. We should have an allocator function handling this.*/
#ifndef ERR_ALLOC_FAILED
#define ERR_ALLOC_FAILED fprintf(stderr, "Allocation failed at %s:%d (%s ver.%x)\n", \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment