summaryrefslogtreecommitdiffstats
path: root/man_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_action.c')
-rw-r--r--man_action.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_action.c b/man_action.c
index 0aa0555a..7ce1b126 100644
--- a/man_action.c
+++ b/man_action.c
@@ -219,6 +219,9 @@ post_AT(struct man *m)
p = unix_versions[0];
}
+ if (m->meta.source)
+ free(m->meta.source);
+
m->meta.source = mandoc_strdup(p);
return(1);