summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_action.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_action.c b/man_action.c
index 7ce1b126..baf4a3c2 100644
--- a/man_action.c
+++ b/man_action.c
@@ -262,6 +262,9 @@ post_UC(struct man *m)
p = bsd_versions[0];
}
+ if (m->meta.source)
+ free(m->meta.source);
+
m->meta.source = mandoc_strdup(p);
return(1);