diff --git a/util.c b/util.c index cab675e..0456060 100644 --- a/util.c +++ b/util.c @@ -198,6 +198,9 @@ void util_debug(const char *area, const char *ms, ...) { if (!opts_debug) return; + if (!strcmp(area, "MEM") && !opts_memchk) + return; + va_start(va, ms); fprintf (stdout, "DEBUG: "); fputc ('[', stdout);