[Groonga-commit] ranguba/rroonga at 61a2ee2 [master] Revert "Fix memory leak calculation for drilldown"

Back to archive index

Hiroshi Hatake null+****@clear*****
Sat Feb 14 14:10:40 JST 2015


Hiroshi Hatake	2015-02-14 14:10:40 +0900 (Sat, 14 Feb 2015)

  New Revision: 61a2ee25b8a0740ca1c34414a84c764182a9e89b
  https://github.com/ranguba/rroonga/commit/61a2ee25b8a0740ca1c34414a84c764182a9e89b

  Message:
    Revert "Fix memory leak calculation for drilldown"
    
    This reverts commit 3cc1663f53fba7cf59fbc158f007249cc60cd639.
    
    This commit causes crash.
    So, I revert it.

  Modified files:
    ext/groonga/rb-grn-table.c

  Modified: ext/groonga/rb-grn-table.c (+0 -1)
===================================================================
--- ext/groonga/rb-grn-table.c    2015-02-14 14:00:28 +0900 (1a3c540)
+++ ext/groonga/rb-grn-table.c    2015-02-14 14:10:40 +0900 (3107a23)
@@ -1447,7 +1447,6 @@ 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����������������������������...
Download 



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