[Groonga-commit] groonga/grnxx at 88f678a [master] Delete an underlying storage before array destruction.

Back to archive index

susumu.yata null+****@clear*****
Fri Jul 26 11:17:58 JST 2013


susumu.yata	2013-07-26 11:17:58 +0900 (Fri, 26 Jul 2013)

  New Revision: 88f678afe32ddfb5c7b3452f61207e47e1be7d64
  https://github.com/groonga/grnxx/commit/88f678afe32ddfb5c7b3452f61207e47e1be7d64

  Message:
    Delete an underlying storage before array destruction.

  Modified files:
    test/test_array.cpp

  Modified: test/test_array.cpp (+3 -0)
===================================================================
--- test/test_array.cpp    2013-07-26 11:16:32 +0900 (4378754)
+++ test/test_array.cpp    2013-07-26 11:17:58 +0900 (6564ad2)
@@ -144,6 +144,9 @@ void test_array(std::uint64_t size) {
   for (std::uint64_t i = 0; i < size; ++i) {
     assert(array->get_value(i) == values[i]);
   }
+
+  // Delete a storage before deleting an array.
+  storage.reset();
 }
 
 template <std::uint64_t PAGE_SIZE = 0,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index