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

Back to archive index

null+****@clear***** null+****@clear*****
2010年 6月 10日 (木) 20:29:19 JST


Daijiro MORI	2010-06-10 11:29:19 +0000 (Thu, 10 Jun 2010)

  New Revision: 001a94647c10cae5ee9d4efd637ff93aafba4cd8

  Log:
    Fixed a bug cause memory leak.

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+0 -1)
===================================================================
--- lib/proc.c    2010-06-09 13:38:10 +0000 (d371149)
+++ lib/proc.c    2010-06-10 11:29:19 +0000 (1886c33)
@@ -75,7 +75,6 @@ proc_select(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data)
       drilldown_output_columns_len = strlen(DEFAULT_DRILLDOWN_OUTPUT_COLUMNS);
     }
 
-    GRN_TEXT_INIT(outbuf, 0);
     if (grn_select(ctx, outbuf, ct,
                    GRN_TEXT_VALUE(&vars[0].value), GRN_TEXT_LEN(&vars[0].value),
                    GRN_TEXT_VALUE(&vars[1].value), GRN_TEXT_LEN(&vars[1].value),




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