[Groonga-commit] groonga/groonga at ca9d75b [master] logical_table_remove: fix memory leak

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sat Aug 27 22:33:21 JST 2016


Kouhei Sutou	2016-08-27 22:33:21 +0900 (Sat, 27 Aug 2016)

  New Revision: ca9d75b19d94b593463cca1e82131a9bf9fda05e
  https://github.com/groonga/groonga/commit/ca9d75b19d94b593463cca1e82131a9bf9fda05e

  Message:
    logical_table_remove: fix memory leak

  Modified files:
    plugins/sharding/logical_table_remove.rb

  Modified: plugins/sharding/logical_table_remove.rb (+1 -0)
===================================================================
--- plugins/sharding/logical_table_remove.rb    2016-08-26 18:04:17 +0900 (2ee6493)
+++ plugins/sharding/logical_table_remove.rb    2016-08-27 22:33:21 +0900 (ac4ce0b)
@@ -112,6 +112,7 @@ module Groonga
               table.remove(options)
             rescue
               Context.instance.clear_error
+              table.close
               remove_table_force(shard)
             end
           else
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index