From c524f873afc76c8c73dc6b1bde47aff22ae40cea Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 16:27:23 +0000 Subject: Fixed memory leak introduced in last checkin of man_action TH parsing (only if TH is called again, which never happens anyway). Fixed my email address in man_action.c and msec.c. Removed superfluous inclusion in msec.c. --- man_action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'man_action.c') diff --git a/man_action.c b/man_action.c index 9a443dca..2425c13a 100644 --- a/man_action.c +++ b/man_action.c @@ -1,6 +1,6 @@ -/* $Id: man_action.c,v 1.31 2010/05/15 15:54:39 kristaps Exp $ */ +/* $Id: man_action.c,v 1.32 2010/05/15 16:27:23 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -151,6 +151,8 @@ post_TH(struct man *m) free(m->meta.vol); if (m->meta.source) free(m->meta.source); + if (m->meta.msec) + free(m->meta.msec); m->meta.title = m->meta.vol = m->meta.msec = m->meta.source = NULL; -- cgit v1.2.3