[Groonga-commit] groonga/groonga [master] Fixed a memory leak bug.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 6月 13日 (日) 17:46:24 JST


Daijiro MORI	2010-06-13 08:46:24 +0000 (Sun, 13 Jun 2010)

  New Revision: ead53913eadd08d9f3ddf1fd64f70ed90ff4e581

  Log:
    Fixed a memory leak bug.

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+0 -1)
===================================================================
--- lib/proc.c    2010-06-13 07:47:55 +0000 (fbe22c4)
+++ lib/proc.c    2010-06-13 08:46:24 +0000 (bae1131)
@@ -169,7 +169,6 @@ proc_status(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data)
       break;
     case GRN_CONTENT_JSON:
       {
-        GRN_TEXT_INIT(outbuf, 0);
         GRN_TEXT_PUTS(ctx, outbuf, "{\"alloc_count\":");
         grn_text_itoa(ctx, outbuf, grn_alloc_count());
         GRN_TEXT_PUTS(ctx, outbuf, ",\"starttime\":");




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