Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/tic use hdestroy1 now that hdestroy does not free th...



details:   https://anonhg.NetBSD.org/src/rev/45d23055d487
branches:  trunk
changeset: 330778:45d23055d487
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 20 20:20:16 2014 +0000

description:
use hdestroy1 now that hdestroy does not free the key.

diffstat:

 usr.bin/tic/tic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dd3c98629fa9 -r 45d23055d487 usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Sun Jul 20 20:17:21 2014 +0000
+++ b/usr.bin/tic/tic.c Sun Jul 20 20:20:16 2014 +0000
@@ -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 @@
                free(term->name);
                free(term);
        }
-       hdestroy();
+       hdestroy1(free, NULL);
 #endif
 
 



Home | Main Index | Thread Index | Old Index