projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added small memory debugger to detect memory leaks
[NeonServV5.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 7e1839f1c9ca27127ef907388c861e19c4a3ac3d..600c519f3b4fa722fad902fbfaf83e1312e69951 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-149,6
+149,10
@@
main:
signal(SIGSEGV, sighandler);
signal(SIGTERM, sighandler);
+ #ifdef ENABLE_MEMORY_DEBUG
+ initMemoryDebug();
+ #endif
+
start_time = time(0);
#ifdef WIN32