aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--man_action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/man_action.c b/man_action.c
index 813062f6..a397b29c 100644
--- a/man_action.c
+++ b/man_action.c
@@ -1,4 +1,4 @@
-/* $Id: man_action.c,v 1.37 2010/05/24 12:22:43 kristaps Exp $ */
+/* $Id: man_action.c,v 1.38 2010/05/24 13:36:53 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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);