summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 15:54:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 15:54:39 +0000
commitb9297c29623c1e4db9a654cff80d1ac016fdbaee (patch)
tree2f593f482089d568f7cf7614873b114e88046755 /man.c
parented04d894e573be8a07ec7f68bb5245f83ce49beb (diff)
downloadmandoc-b9297c29623c1e4db9a654cff80d1ac016fdbaee.tar.gz
Removed restriction on integer manual sections in -man.
Diffstat (limited to 'man.c')
-rw-r--r--man.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man.c b/man.c
index c8b8b2f2..20c3d1d1 100644
--- a/man.c
+++ b/man.c
@@ -32,7 +32,6 @@
const char *const __man_merrnames[WERRMAX] = {
"invalid character", /* WNPRINT */
- "invalid manual section", /* WMSEC */
"invalid date format", /* WDATE */
"scope of prior line violated", /* WLNSCOPE */
"over-zealous prior line scope violation", /* WLNSCOPE2 */
@@ -174,6 +173,8 @@ man_free1(struct man *man)
free(man->meta.source);
if (man->meta.vol)
free(man->meta.vol);
+ if (man->meta.msec)
+ free(man->meta.msec);
}