aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-14 16:43:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-14 16:43:43 +0000
commit792b9c4c5a44280611945547a57ac9e48af5baf1 (patch)
tree015fb8a15f37966559de140db370509df4737a1a /tbl_html.c
parent31a9a3fd6b1a2eec3fc1f35e538b7cc8726acfe4 (diff)
downloadmandoc-792b9c4c5a44280611945547a57ac9e48af5baf1.tar.gz
mandoc-792b9c4c5a44280611945547a57ac9e48af5baf1.tar.zst
mandoc-792b9c4c5a44280611945547a57ac9e48af5baf1.zip
support for hunting memory leaks;
designed and written last autumn, polished today
Diffstat (limited to 'tbl_html.c')
-rw-r--r--tbl_html.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tbl_html.c b/tbl_html.c
index 908bb4c8..7fd1c42d 100644
--- a/tbl_html.c
+++ b/tbl_html.c
@@ -1,7 +1,7 @@
-/* $Id: tbl_html.c,v 1.39 2022/01/12 04:43:26 schwarze Exp $ */
+/* $Id: tbl_html.c,v 1.40 2022/04/14 16:43:44 schwarze Exp $ */
/*
- * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014,2015,2017,2018,2021 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -24,6 +24,9 @@
#include <stdlib.h>
#include <string.h>
+#if DEBUG_MEMORY
+#include "mandoc_dbg.h"
+#endif
#include "mandoc.h"
#include "roff.h"
#include "tbl.h"