[Groonga-commit] groonga/groonga [master] Fixed missing grn_expr_clear_vars in grn_expr_close()

Back to archive index

null+****@clear***** null+****@clear*****
2010年 6月 16日 (水) 08:48:20 JST


Daijiro MORI	2010-06-15 23:48:20 +0000 (Tue, 15 Jun 2010)

  New Revision: c4377cc2ed5426b481258c0cd9d57d8599cdb964

  Log:
    Fixed missing grn_expr_clear_vars in grn_expr_close()

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -0)
===================================================================
--- lib/expr.c    2010-06-15 14:32:12 +0000 (2ee0f9a)
+++ lib/expr.c    2010-06-15 23:48:20 +0000 (7d88b78)
@@ -603,6 +603,7 @@ grn_expr_close(grn_ctx *ctx, grn_obj *expr)
     grn_hash_delete(ctx, ctx->impl->qe, &e->obj.header.domain, sizeof(grn_id), NULL);
   }
   */
+  grn_expr_clear_vars(ctx, expr);
   for (i = 0; i < e->nconsts; i++) {
     grn_obj_close(ctx, &e->consts[i]);
   }




Groonga-commit メーリングリストの案内
Back to archive index