summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 13:23:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 13:23:33 +0000
commit7dc2d6a482012ee72e11641d5d1a258ce79f51e6 (patch)
tree2db522e40e1a31628e92303c5d614505e7097e00 /mdoc.c
parent459a801e79bce62a2689d687f5e57917a5130e26 (diff)
downloadmandoc-7dc2d6a482012ee72e11641d5d1a258ce79f51e6.tar.gz
Plug memory leak of normalised-date field.
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index 4be29519..421db789 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -138,6 +138,8 @@ mdoc_free1(struct mdoc *mdoc)
free(mdoc->meta.vol);
if (mdoc->meta.msec)
free(mdoc->meta.msec);
+ if (mdoc->meta.date)
+ free(mdoc->meta.date);
}