From 7dc2d6a482012ee72e11641d5d1a258ce79f51e6 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 15 Mar 2011 13:23:33 +0000 Subject: Plug memory leak of normalised-date field. --- mdoc.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- cgit