[Groonga-commit] groonga/groonga [master] unlink no longer needed objects.

Back to archive index

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


Kouhei Sutou	2011-03-13 03:48:44 +0000 (Sun, 13 Mar 2011)

  New Revision: 6108956072d5c0c3e6c05a2803e74bd08ab1b63c

  Log:
    unlink no longer needed objects.

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

  Modified: test/unit/core/test-inspect.c (+2 -0)
===================================================================
--- test/unit/core/test-inspect.c    2011-03-13 03:45:48 +0000 (092c530)
+++ test/unit/core/test-inspect.c    2011-03-13 03:48:44 +0000 (38bad76)
@@ -662,8 +662,10 @@ test_accessor_column_name(gconstpointer data)
   object = get_object(table_name);
   accessor = grn_obj_column(context, object,
                             accessor_name, strlen(accessor_name));
+  grn_obj_unlink(context, object);
   cut_assert_not_null(accessor);
   inspected = grn_inspect(context, NULL, accessor);
+  grn_obj_unlink(context, accessor);
   cut_assert_equal_string(accessor_name, inspected_string());
 }
 




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