[Groonga-commit] groonga/groonga at 2ad02e3 [master] Fix a memory leak when request_id byte size >= 24

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 10 11:19:17 JST 2015


Kouhei Sutou	2015-07-10 11:19:17 +0900 (Fri, 10 Jul 2015)

  New Revision: 2ad02e34b001b177d523d3c9841b6a5cd8186613
  https://github.com/groonga/groonga/commit/2ad02e34b001b177d523d3c9841b6a5cd8186613

  Message:
    Fix a memory leak when request_id byte size >= 24

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+1 -0)
===================================================================
--- lib/ctx.c    2015-07-09 23:34:12 +0900 (92caba5)
+++ lib/ctx.c    2015-07-10 11:19:17 +0900 (5d16aa2)
@@ -1397,6 +1397,7 @@ grn_ctx_qe_exec_uri(grn_ctx *ctx, const char *path, uint32_t path_len)
     grn_expr_exec(ctx, expr, 0);
   }
 exit :
+  GRN_OBJ_FIN(ctx, &request_id);
   GRN_OBJ_FIN(ctx, &buf);
   return expr;
 }
-------------- next part --------------
HTML����������������������������...
Download 



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