memory reorganization in sec-mod.

It no longer relies on main pool, it uses it's own pool.
In addition the DEBUG_LEAKS definition was added to allow debugging
leaks.
This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-15 16:37:57 +02:00
parent 48c42fe254
commit d99c527758
8 changed files with 58 additions and 35 deletions

View File

@@ -11,6 +11,8 @@ BUILT_SOURCES = ocpasswd-args.c ocpasswd-args.h \
ocserv-args.c ocserv-args.h ipc.pb-c.c ipc.pb-c.h \
ctl.pb-c.c ctl.pb-c.h
#AM_CPPFLAGS += -DDEBUG_LEAKS
if LOCAL_HTTP_PARSER
AM_CPPFLAGS += -I$(srcdir)/http-parser/
HTTP_PARSER_SOURCES = http-parser/http_parser.c http-parser/http_parser.h