From: Daniel Stenberg Date: Tue, 14 Oct 2003 13:10:05 +0000 (+0000) Subject: Kimmo Kinnunen fixed a crash with duphandle() when CURLDEBUG was set X-Git-Tag: curl-7_10_8~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b71ca15598725d74230d5b2b1834ecdad0748eb3;p=thirdparty%2Fcurl.git Kimmo Kinnunen fixed a crash with duphandle() when CURLDEBUG was set --- diff --git a/lib/easy.c b/lib/easy.c index f76df632b8..6274812dd2 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -80,6 +80,10 @@ #define _MPRINTF_REPLACE /* use our functions only */ #include +/* The last #include file should be: */ +#ifdef CURLDEBUG +#include "memdebug.h" +#endif /* Silly win32 socket initialization functions */