Hiroshi Hatake
null+****@clear*****
Sat Feb 14 14:00:28 JST 2015
Hiroshi Hatake 2015-02-14 14:00:28 +0900 (Sat, 14 Feb 2015) New Revision: 3cc1663f53fba7cf59fbc158f007249cc60cd639 https://github.com/ranguba/rroonga/commit/3cc1663f53fba7cf59fbc158f007249cc60cd639 Message: Fix memory leak calculation for drilldown Modified files: ext/groonga/rb-grn-table.c Modified: ext/groonga/rb-grn-table.c (+1 -0) =================================================================== --- ext/groonga/rb-grn-table.c 2015-02-14 01:54:47 +0900 (3107a23) +++ ext/groonga/rb-grn-table.c 2015-02-14 14:00:28 +0900 (1a3c540) @@ -1447,6 +1447,7 @@ rb_grn_table_group (int argc, VALUE *argv, VALUE self) result.calc_target = grn_obj_column(context, table, name, name_size); } if (result.calc_target) { + grn_obj_unlink(context, result.calc_target); int i, n_calc_types; VALUE *raw_calc_types; raw_calc_types = RARRAY_PTR(rb_calc_types); -------------- next part -------------- HTML����������������������������... Télécharger