Module Name: src
Committed By: christos
Date: Sun Jul 20 20:20:16 UTC 2014
Modified Files:
src/usr.bin/tic: tic.c
Log Message:
use hdestroy1 now that hdestroy does not free the key.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/tic/tic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/tic/tic.c
diff -u src/usr.bin/tic/tic.c:1.23 src/usr.bin/tic/tic.c:1.24
--- src/usr.bin/tic/tic.c:1.23 Sat Dec 8 18:29:28 2012
+++ src/usr.bin/tic/tic.c Sun Jul 20 16:20:16 2014
@@ -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