[Groonga-commit] groonga/groonga at 20c888e [master] Add missing frees

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jul 31 12:47:59 JST 2018


Kouhei Sutou	2018-07-31 12:47:59 +0900 (Tue, 31 Jul 2018)

  New Revision: 20c888e6076ba028cdbe977eb67e292ab3aa5832
  https://github.com/groonga/groonga/commit/20c888e6076ba028cdbe977eb67e292ab3aa5832

  Message:
    Add missing frees

  Modified files:
    lib/db.c

  Modified: lib/db.c (+5 -0)
===================================================================
--- lib/db.c    2018-07-31 12:46:55 +0900 (82ca8051f)
+++ lib/db.c    2018-07-31 12:47:59 +0900 (b6e18e53e)
@@ -1,6 +1,7 @@
 /* -*- c-basic-offset: 2 -*- */
 /*
   Copyright(C) 2009-2018 Brazil
+  Copyright(C) 2018 Kouhei Sutou <kou �� clear-code.com>
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -1674,6 +1675,10 @@ grn_table_add(grn_ctx *ctx, grn_obj *table, const void *key, unsigned int key_si
           hooks = hooks->next;
           pctx.offset++;
         }
+        GRN_OBJ_FIN(ctx, &id_);
+        GRN_OBJ_FIN(ctx, &flags_);
+        GRN_OBJ_FIN(ctx, &oldvalue_);
+        GRN_OBJ_FIN(ctx, &value_);
       }
     }
   }
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180731/7b316137/attachment-0001.htm 



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