added small memory debugger to detect memory leaks
[NeonServV5.git] / src / main.c
index 7e1839f1c9ca27127ef907388c861e19c4a3ac3d..600c519f3b4fa722fad902fbfaf83e1312e69951 100644 (file)
@@ -149,6 +149,10 @@ main:
     signal(SIGSEGV, sighandler);
     signal(SIGTERM, sighandler);
     
+    #ifdef ENABLE_MEMORY_DEBUG
+    initMemoryDebug();
+    #endif
+    
     start_time = time(0);
     
     #ifdef WIN32