=================================================================== RCS file: /cvs/mandoc/Attic/man_action.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -p -r1.37 -r1.38 --- mandoc/Attic/man_action.c 2010/05/24 12:22:43 1.37 +++ mandoc/Attic/man_action.c 2010/05/24 13:36:53 1.38 @@ -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 * @@ -261,6 +261,9 @@ post_UC(struct man *m) else p = bsd_versions[0]; } + + if (m->meta.source) + free(m->meta.source); m->meta.source = mandoc_strdup(p);