[Box Backup-commit] COMMIT r1161 - box/chris/merge/lib/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Mon Nov 13 16:12:09 GMT 2006
Author: chris
Date: 2006-11-13 16:12:09 +0000 (Mon, 13 Nov 2006)
New Revision: 1161
Modified:
box/chris/merge/lib/common/MainHelper.h
Log:
Initialise memleak finder at the start of every program that uses
MAINHELPER (all except unit tests). (refs #3)
Modified: box/chris/merge/lib/common/MainHelper.h
===================================================================
--- box/chris/merge/lib/common/MainHelper.h 2006-11-13 16:10:00 UTC (rev 1160)
+++ box/chris/merge/lib/common/MainHelper.h 2006-11-13 16:12:09 UTC (rev 1161)
@@ -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 \
More information about the Boxbackup-commit
mailing list