From: tomo Date: Mon, 1 Mar 2004 01:41:08 +0000 (+0000) Subject: (CHISE_DS_close): Use `chise_destroy_name_table'. X-Git-Tag: libchise-0_2_1~6 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca00db0ac63acc7336dad55d45b6483a3a9a705;p=chise%2Flibchise.git (CHISE_DS_close): Use `chise_destroy_name_table'. --- diff --git a/chise.c b/chise.c index 1482e73..a3048bd 100644 --- a/chise.c +++ b/chise.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003 MORIOKA Tomohiko +/* Copyright (C) 2003,2004 MORIOKA Tomohiko This file is part of the CHISE Library. The CHISE Library is free software; you can redistribute it and/or @@ -124,9 +124,9 @@ CHISE_DS_close (CHISE_DS *ds) if (ds->location != NULL) free (ds->location); if (ds->feature_names != NULL) - free (ds->feature_names); + chise_destroy_name_table (ds->feature_names); if (ds->ccs_names != NULL) - free (ds->ccs_names); + chise_destroy_name_table (ds->ccs_names); free (ds); return 0; }