[Groonga-commit] groonga/groonga [master] close database before fin context.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 3月 13日 (日) 12:34:45 JST


Kouhei Sutou	2011-03-13 03:34:45 +0000 (Sun, 13 Mar 2011)

  New Revision: f608cc28db8d62982e6c3faec5a59b2b8ed335eb

  Log:
    close database before fin context.

  Modified files:
    test/unit/core/test-function.c

  Modified: test/unit/core/test-function.c (+1 -0)
===================================================================
--- test/unit/core/test-function.c    2011-03-13 03:30:40 +0000 (0434f1d)
+++ test/unit/core/test-function.c    2011-03-13 03:34:45 +0000 (15db86a)
@@ -69,6 +69,7 @@ void
 cut_teardown(void)
 {
   if (context) {
+    grn_obj_close(context, database);
     grn_ctx_fin(context);
     g_free(context);
   }




Groonga-commit メーリングリストの案内
Back to archive index