diff options
Diffstat (limited to 'man_action.c')
-rw-r--r-- | man_action.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man_action.c b/man_action.c index 55fe11fd..813062f6 100644 --- a/man_action.c +++ b/man_action.c @@ -1,4 +1,4 @@ -/* $Id: man_action.c,v 1.36 2010/05/17 22:11:42 kristaps Exp $ */ +/* $Id: man_action.c,v 1.37 2010/05/24 12:22:43 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); |