diff options
| author | christos <christos@NetBSD.org> | 2014-07-20 20:20:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2014-07-20 20:20:16 +0000 |
| commit | 1f849acefea45f7627066b37288efd76167ea3f8 (patch) | |
| tree | 00b549b0fb5b8af215cb3228129d4c7d905679e5 /usr.bin/tic | |
| parent | c80dfef2b1aae6f50bc152fcd160181f5d6d75ba (diff) | |
use hdestroy1 now that hdestroy does not free the key.
Diffstat (limited to 'usr.bin/tic')
| -rw-r--r-- | usr.bin/tic/tic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c index 675556ec2f8..e1d049f543e 100644 --- a/usr.bin/tic/tic.c +++ b/usr.bin/tic/tic.c @@ -1,4 +1,4 @@ -/* $NetBSD: tic.c,v 1.23 2012/12/08 23:29:28 joerg Exp $ */ +/* $NetBSD: tic.c,v 1.24 2014/07/20 20:20:16 christos Exp $ */ /* * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #endif #include <sys/cdefs.h> -__RCSID("$NetBSD: tic.c,v 1.23 2012/12/08 23:29:28 joerg Exp $"); +__RCSID("$NetBSD: tic.c,v 1.24 2014/07/20 20:20:16 christos Exp $"); #include <sys/types.h> #include <sys/queue.h> @@ -585,7 +585,7 @@ main(int argc, char **argv) free(term->name); free(term); } - hdestroy(); + hdestroy1(free, NULL); #endif |
