1. Add the new amalloc module, which (if enabled with

--enable-amalloc) replaced malloc and its ilk with
    versions that attempt to maintain a linked list of
    allocated blocks that can be printed to stderr with
    the `adump()` function.

2.  Clean up a couple more places where I leak memory
    during the first level parse.

3.  tweak cstring.h to try to chase down places where
    the C compiler might optimize EXPAND() into producing
    broken code.
This commit is contained in:
david parsons
2008-04-03 11:22:07 -07:00
parent ce5eaaae07
commit 5c6115c601
15 changed files with 171 additions and 13 deletions
+1
View File
@@ -35,6 +35,7 @@
#include "mkdio.h"
#include "cstring.h"
#include "amalloc.h"
char *pgm = "mkd2html";