[Groonga-commit] groonga/groonga [master] Reset default_logger_path on fin

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jan 25 18:53:53 JST 2013


Kouhei Sutou	2013-01-25 18:53:53 +0900 (Fri, 25 Jan 2013)

  New Revision: b34f7165837c1e69de2c31958d1d5f061247aacf
  https://github.com/groonga/groonga/commit/b34f7165837c1e69de2c31958d1d5f061247aacf

  Log:
    Reset default_logger_path on fin

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+1 -0)
===================================================================
--- lib/ctx.c    2013-01-25 17:22:58 +0900 (24208ea)
+++ lib/ctx.c    2013-01-25 18:53:53 +0900 (51826ca)
@@ -913,6 +913,7 @@ logger_fin(grn_ctx *ctx)
   grn_logger_fin(ctx);
   if (default_logger_path) {
     free(default_logger_path);
+    default_logger_path = NULL;
   }
   CRITICAL_SECTION_FIN(default_logger_lock);
 }
-------------- next part --------------
HTML����������������������������...
Télécharger 



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