diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-12 08:22:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-12 08:22:04 +0000 |
commit | 34af02caca301a44f54c2df371f957a69e949df1 (patch) | |
tree | 4aa0099acc1c3b18f9477b6b815810c6ef73e93f /src/main.c | |
parent | 91025d1dd65dc4037dfd75accf20116d3a84c7bd (diff) |
Disable memdebug for the allocs done by the app, unless CURLTOOLDEBUG is
defined (which it never is atm).
Now, we can focus on making 'runtests -t [num]' work on all test cases and
we should never leak nor crash.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 6cc264b24..9c915203c 100644 --- a/src/main.c +++ b/src/main.c @@ -107,6 +107,9 @@ /* The last #include file should be: */ #ifdef CURLDEBUG +#ifndef CURLTOOLDEBUG +#define MEMDEBUG_NODEFINES +#endif /* This is low-level hard-hacking memory leak tracking and similar. Using the library level code from this client-side is ugly, but we do this anyway for convenience. */ |