forked from 0ad/0ad
janwas
f1d322d5af
- hook strdup and getcwd, since they allocate memory internally - better reporting of owner in case only partial information is available (don't give up and report "unknown") This was SVN commit r1879.
12 lines
174 B
C
12 lines
174 B
C
// remove all memory allocation "hooks"
|
|
|
|
#undef new
|
|
#undef delete
|
|
#undef malloc
|
|
#undef calloc
|
|
#undef realloc
|
|
#undef free
|
|
|
|
#undef strdup
|
|
#undef wcsdup
|
|
#undef getcwd |