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.
This commit is contained in:
@@ -94,8 +94,8 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
#endif
|
||||
|
||||
/* The last #include file should be: */
|
||||
#ifdef CURLDEBUG
|
||||
#include "../lib/memdebug.h"
|
||||
#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
|
||||
#include "memdebug.h"
|
||||
#endif
|
||||
|
||||
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
|
||||
Reference in New Issue
Block a user