[Groonga-commit] groonga/groonga at f40ce10 [master] pat: use GRN_FREE instead of GRN_GFREE because GRN_MALLOC is used

Back to archive index

Susumu Yata null+****@clear*****
Tue Apr 5 12:01:51 JST 2016


Susumu Yata	2016-04-05 12:01:51 +0900 (Tue, 05 Apr 2016)

  New Revision: f40ce10252a461fec5d87c7b429dc9e079e48e14
  https://github.com/groonga/groonga/commit/f40ce10252a461fec5d87c7b429dc9e079e48e14

  Message:
    pat: use GRN_FREE instead of GRN_GFREE because GRN_MALLOC is used
    
    GitHub: #513

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+2 -2)
===================================================================
--- lib/pat.c    2016-04-05 13:07:03 +0900 (f23523f)
+++ lib/pat.c    2016-04-05 12:01:51 +0900 (aa7caf6)
@@ -1,5 +1,5 @@
 /* -*- c-basic-offset: 2 -*- */
-/* Copyright(C) 2009-2015 Brazil
+/* Copyright(C) 2009-2016 Brazil
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -618,7 +618,7 @@ grn_pat_open(grn_ctx *ctx, const char *path)
   PAT_AT(pat, 0, node0);
   if (!node0) {
     grn_io_close(ctx, io);
-    GRN_GFREE(pat);
+    GRN_FREE(pat);
     return NULL;
   }
   pat->cache = NULL;
-------------- next part --------------
HTML����������������������������...
Télécharger 



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