diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-15 13:23:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-15 13:23:33 +0000 |
commit | 7dc2d6a482012ee72e11641d5d1a258ce79f51e6 (patch) | |
tree | 2db522e40e1a31628e92303c5d614505e7097e00 /mdoc.c | |
parent | 459a801e79bce62a2689d687f5e57917a5130e26 (diff) | |
download | mandoc-7dc2d6a482012ee72e11641d5d1a258ce79f51e6.tar.gz |
Plug memory leak of normalised-date field.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |