diff --git a/src/sigar_getline.c b/src/sigar_getline.c index 45a6a384..c9fdc848 100644 --- a/src/sigar_getline.c +++ b/src/sigar_getline.c @@ -232,7 +232,10 @@ static int (*gl_out_hook)(char *buf) = 0; static int (*gl_tab_hook)(char *buf, int prompt_width, int *loc) = gl_tab; /******************** imported interface *********************************/ - +#ifdef DMALLOC +/* reports leaks, which is the history buffer. dont care */ +#undef DMALLOC +#endif #include "sigar_getline.h" #include "sigar_private.h" #include "sigar_util.h"