[Groonga-commit] groonga/groonga [master] fixed a bug that causes GPF in WIN32 enviroment.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 9月 29日 (水) 22:37:54 JST


t2001	2010-09-29 13:37:54 +0000 (Wed, 29 Sep 2010)

  New Revision: ccfeb0bc7c605c8671eb4def9b39dd3c41df8a67

  Log:
    fixed a bug that causes GPF in WIN32 enviroment.

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+1 -1)
===================================================================
--- lib/ctx.c    2010-10-05 08:38:47 +0000 (bf19697)
+++ lib/ctx.c    2010-09-29 13:37:54 +0000 (96be9d0)
@@ -484,12 +484,12 @@ grn_ctx_fin(grn_ctx *ctx)
         }
       }
     }
+    CRITICAL_SECTION_FIN(ctx->impl->lock);
     {
       grn_io_mapinfo mi;
       mi.map = (void *)ctx->impl;
       grn_io_anon_unmap(ctx, &mi, IMPL_SIZE);
     }
-    CRITICAL_SECTION_FIN(ctx->impl->lock);
   }
   ctx->stat = GRN_CTX_FIN;
   return rc;




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