[Groonga-commit] groonga/groonga [master] unlink ctx in grn_ctx_close().

Back to archive index

null+****@clear***** null+****@clear*****
2010年 12月 7日 (火) 17:24:26 JST


Daijiro MORI	2010-12-07 08:24:26 +0000 (Tue, 07 Dec 2010)

  New Revision: 7fb88cc5b13956c88976a9d2026637ddeed2d693

  Log:
    unlink ctx in grn_ctx_close().

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+2 -0)
===================================================================
--- lib/ctx.c    2010-11-29 01:48:16 +0000 (832643d)
+++ lib/ctx.c    2010-12-07 08:24:26 +0000 (4db67ca)
@@ -812,6 +812,8 @@ grn_rc
 grn_ctx_close(grn_ctx *ctx)
 {
   grn_rc rc = grn_ctx_fin(ctx);
+  ctx->next->prev = ctx->prev;
+  ctx->prev->next = ctx->next;
   GRN_GFREE(ctx);
   return rc;
 }




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