diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-11-13 16:12:09 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-11-13 16:12:09 +0000 |
commit | 9bd08c8e9889b3f879723b341e2a9083c356b94f (patch) | |
tree | 2ea63fb0fcc3cf6f674928b70d1217adbb6c3c71 /lib | |
parent | 7a5175aedfc8bdba18ae9bc9d6322303be1aa9e5 (diff) |
Initialise memleak finder at the start of every program that uses
MAINHELPER (all except unit tests). (refs #3)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common/MainHelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common/MainHelper.h b/lib/common/MainHelper.h index ab75af96..d91bc2f9 100644 --- a/lib/common/MainHelper.h +++ b/lib/common/MainHelper.h @@ -17,6 +17,7 @@ #define MAINHELPER_START \ if(argc == 2 && ::strcmp(argv[1], "--version") == 0) \ { printf(BOX_VERSION "\n"); return 0; } \ + MEMLEAKFINDER_INIT \ MEMLEAKFINDER_START \ try { #define MAINHELPER_END \ |