From: MORIOKA Tomohiko Date: Tue, 16 Apr 2013 08:49:30 +0000 (+0900) Subject: (concord_name_table_grow): Release old `table->data'. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b8cde7b7e18c8016262c552958319dd29a488ab1;p=chise%2Fconcord.git (concord_name_table_grow): Release old `table->data'. --- diff --git a/name.c b/name.c index 90cde63..da8b7d5 100644 --- a/name.c +++ b/name.c @@ -194,6 +194,7 @@ concord_name_table_grow (CONCORD_NAME_TABLE* table) } } } + free (table->data); table->size = new_table->size; table->data = new_table->data; free (new_table);