null+****@clear*****
null+****@clear*****
2011年 3月 13日 (日) 14:27:43 JST
Kouhei Sutou 2011-03-13 05:27:43 +0000 (Sun, 13 Mar 2011) New Revision: 8bb889896d76ca082f1a6440c95d30ccf9638877 Log: close database. Modified files: test/unit/core/test-command-table-list.c Modified: test/unit/core/test-command-table-list.c (+3 -4) =================================================================== --- test/unit/core/test-command-table-list.c 2011-03-13 04:44:13 +0000 (1bab7f4) +++ test/unit/core/test-command-table-list.c 2011-03-13 05:27:43 +0000 (e2b7248) @@ -69,10 +69,9 @@ cut_setup(void) void cut_teardown(void) { - if (context) { - grn_ctx_fin(context); - g_free(context); - } + grn_obj_close(context, database); + grn_ctx_fin(context); + g_free(context); remove_tmp_directory(); }