added memory debugging include file

This commit is contained in:
Daniel Stenberg
2000-10-09 11:12:34 +00:00
parent d49d05bce6
commit 0f8facb49b
14 changed files with 66 additions and 1 deletions

View File

@@ -65,6 +65,11 @@ Example set of cookies:
#include "getdate.h"
#include "strequal.h"
/* The last #include file should be: */
#ifdef MALLOCDEBUG
#include "memdebug.h"
#endif
/****************************************************************************
*
* cookie_add()
@@ -496,6 +501,7 @@ void cookie_cleanup(struct CookieInfo *c)
free(co);
co = next;
}
free(c); /* free the base struct as well */
}
}