summaryrefslogtreecommitdiff
path: root/lib/common/MemLeakFindOff.h
blob: 1cc98bace5b97c7d4704c32bc33a7ec1251b686a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// --------------------------------------------------------------------------
//
// File
//		Name:    MemLeakFindOff.h
//		Purpose: Switch memory leak finding off
//		Created: 13/1/04
//
// --------------------------------------------------------------------------

// no header guard

#ifdef BOX_MEMORY_LEAK_TESTING

#undef new

#ifndef MEMLEAKFINDER_FULL_MALLOC_MONITORING
	#ifdef MEMLEAKFINDER_MALLOC_MONITORING_DEFINED
		#undef malloc
		#undef realloc
		#undef free
		#undef MEMLEAKFINDER_MALLOC_MONITORING_DEFINED
	#endif
#endif

#undef MEMLEAKFINDER_ENABLED

#endif