From 16e667a2cecf9492954333fc7949b6636072f941 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 22 Nov 2008 01:11:19 +0000 Subject: Replaced most uses of smalloc and scalloc with new, replaced most uses of free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/extern.h') diff --git a/include/extern.h b/include/extern.h index 8bc6c25a7..8c050d857 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1016,8 +1016,6 @@ E int b64_decode(const char *src, char *target, size_t targsize); E const char* encode_ip(unsigned char *ip); E int decode_ip(const char *buf); -#define Anope_Free(x) if ((x) != NULL) free(x) - E char *host_resolve(char *host); E void event_process_hook(const char *name, int argc, char **argv); -- cgit