diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-24 13:36:53 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-24 13:36:53 +0000 |
commit | 40346fd3ed40ad580ad71cd96c517fdccce10a80 (patch) | |
tree | dd1ad9fcc6a620c0ab21c9e3000dbbdb34f1b070 | |
parent | dc069531069f046fc9026ca64b3fc05baf0526d4 (diff) | |
download | mandoc-40346fd3ed40ad580ad71cd96c517fdccce10a80.tar.gz |
Plug second meta.source leak in `UT' handling.
-rw-r--r-- | man_action.c | 3 |
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); |