summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-22 09:39:39 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-22 09:39:39 +0000
commit89a70b3880b65a1ef6f10394c9970319e6781f07 (patch)
treeeece3f247102e6d0f02e5829531bdc52c29141dd /usr.bin
parentbb55dd23869f0dacc00e28c433d42b9dc4329da2 (diff)
fix leaks
ok krw@ deraadt@ benno@ phessler@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/column/column.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c
index 9cd597cab5d..87fa6f7f360 100644
--- a/usr.bin/column/column.c
+++ b/usr.bin/column/column.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: column.c,v 1.16 2013/11/26 13:18:55 deraadt Exp $ */
+/* $OpenBSD: column.c,v 1.17 2014/01/22 09:39:38 jsg Exp $ */
/* $NetBSD: column.c,v 1.4 1995/09/02 05:53:03 jtc Exp $ */
/*
@@ -241,6 +241,8 @@ maketbl(void)
(void)printf("%s\n", t->list[coloff]);
}
}
+ free(lens);
+ free(cols);
}
#define DEFNUM 1000