summaryrefslogtreecommitdiff
path: root/tbl.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-06-08 19:29:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-06-08 19:29:07 +0000
commit7ad21139cd51f34b1749abea843f7f513b4a6410 (patch)
tree75256d41669ecdcdfe88b3f6d39c3b1691451b8f /tbl.c
parent6cae2c9f93ec8d6e7a8bce06b82bed67f2d6450b (diff)
Diffstat (limited to 'tbl.c')
-rw-r--r--tbl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl.c b/tbl.c
index ed6fbd876a863..a5aa5ae5fd662 100644
--- a/tbl.c
+++ b/tbl.c
@@ -1,4 +1,4 @@
-/* $Id: tbl.c,v 1.40 2015/10/06 18:32:20 schwarze Exp $ */
+/* $Id: tbl.c,v 1.41 2017/06/08 18:11:22 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -114,6 +114,7 @@ tbl_free(struct tbl_node *tbl)
while (rp->first != NULL) {
cp = rp->first;
rp->first = cp->next;
+ free(cp->wstr);
free(cp);
}
free(rp);