Kouhei Sutou
null+****@clear*****
Sat Aug 16 13:33:33 JST 2014
Kouhei Sutou 2014-08-16 13:33:33 +0900 (Sat, 16 Aug 2014) New Revision: 6a488d0ea05bfb4dfc65e87dd41f7de0e83e9c54 https://github.com/ranguba/rroonga/commit/6a488d0ea05bfb4dfc65e87dd41f7de0e83e9c54 Message: memory-pool: revert adding variable to memory pool Because it is closed by expression. We don't need to close it. Modified files: ext/groonga/rb-grn-object.c Modified: ext/groonga/rb-grn-object.c (+0 -6) =================================================================== --- ext/groonga/rb-grn-object.c 2014-08-16 12:53:18 +0900 (2c7464b) +++ ext/groonga/rb-grn-object.c 2014-08-16 13:33:33 +0900 (1d74569) @@ -109,9 +109,6 @@ rb_grn_object_run_finalizer (grn_ctx *context, grn_obj *grn_object, rb_grn_object->have_finalizer = GRN_FALSE; switch (grn_object->header.type) { - case GRN_BULK: - /* Do nothing */ - break; case GRN_DB: rb_grn_database_finalizer(context, rb_grn_context, grn_object, rb_grn_object); @@ -326,9 +323,6 @@ rb_grn_object_to_ruby_object (VALUE klass, grn_ctx *context, grn_obj *object, rb_grn_context_object_created(rb_context, rb_object); break; default: - if (RVAL2CBOOL(rb_obj_is_kind_of(rb_object, rb_cGrnVariable))) { - rb_grn_context_object_created(rb_context, rb_object); - } break; } -------------- next part -------------- HTML����������������������������... 다운로드