From 34af02caca301a44f54c2df371f957a69e949df1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 12 May 2004 08:22:04 +0000 Subject: 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. --- src/urlglob.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/urlglob.c') diff --git a/src/urlglob.c b/src/urlglob.c index b7f56192c..582ec1b0b 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -35,9 +35,8 @@ #include "urlglob.h" - -#ifdef CURLDEBUG -#include "../lib/memdebug.h" +#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG) +#include "memdebug.h" #endif typedef enum { -- cgit v1.2.3