From 792b9c4c5a44280611945547a57ac9e48af5baf1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 14 Apr 2022 16:43:43 +0000 Subject: support for hunting memory leaks; designed and written last autumn, polished today --- mdoc_state.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mdoc_state.c') diff --git a/mdoc_state.c b/mdoc_state.c index d696ff27..9fa0f494 100644 --- a/mdoc_state.c +++ b/mdoc_state.c @@ -1,6 +1,6 @@ -/* $Id: mdoc_state.c,v 1.17 2020/06/22 19:20:40 schwarze Exp $ */ +/* $Id: mdoc_state.c,v 1.18 2022/04/14 16:43:44 schwarze Exp $ */ /* - * Copyright (c) 2014, 2015, 2017 Ingo Schwarze + * Copyright (c) 2014, 2015, 2017, 2021 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -23,6 +23,9 @@ #include #include +#if DEBUG_MEMORY +#include "mandoc_dbg.h" +#endif #include "mandoc.h" #include "roff.h" #include "mdoc.h" -- cgit v1.2.3