[Groonga-commit] groonga/groonga [master] fix memory leaks.

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2010年 6月 30日 (水) 13:59:58 JST


Kouhei Sutou	2010-06-30 04:59:58 +0000 (Wed, 30 Jun 2010)

  New Revision: 4f5e52c674415ea9f4173e49b79afe01fe2bc632

  Log:
    fix memory leaks.

  Modified files:
    src/grntest.c

  Modified: src/grntest.c (+3 -0)
===================================================================
--- src/grntest.c    2010-06-30 03:33:37 +0000 (dc40ed5)
+++ src/grntest.c    2010-06-30 04:59:58 +0000 (fe94457)
@@ -684,7 +684,10 @@ command_line_to_uri_path(grn_ctx *ctx, grn_obj *uri, char *command)
       GRN_TEXT_PUTS(ctx, uri, "?");
       GRN_TEXT_PUT(ctx, uri, GRN_TEXT_VALUE(&params), GRN_TEXT_LEN(&params));
     }
+    GRN_OBJ_FIN(ctx, &params);
+    GRN_OBJ_FIN(ctx, &output_type);
   }
+  GRN_OBJ_FIN(ctx, &buf);
 }
 
 static




Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index