[Groonga-commit] groonga/groonga at 87fa8de [master] windows: fix wrong free function

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jan 17 16:09:14 JST 2015


Kouhei Sutou	2015-01-17 16:09:14 +0900 (Sat, 17 Jan 2015)

  New Revision: 87fa8deee13775870732a500fb0e4e1c45deb49c
  https://github.com/groonga/groonga/commit/87fa8deee13775870732a500fb0e4e1c45deb49c

  Message:
    windows: fix wrong free function

  Modified files:
    lib/io.c

  Modified: lib/io.c (+2 -2)
===================================================================
--- lib/io.c    2015-01-17 16:06:54 +0900 (b747e4b)
+++ lib/io.c    2015-01-17 16:09:14 +0900 (7743ed6)
@@ -1324,7 +1324,7 @@ grn_munmap(grn_ctx *ctx, HANDLE *fmo, void *start, size_t length)
 {
   int r = 0;
   if (!fmo) {
-    GRN_FREE(start);
+    GRN_GFREE(start);
     return r;
   }
   if (*fmo) {
@@ -1345,7 +1345,7 @@ grn_munmap(grn_ctx *ctx, HANDLE *fmo, void *start, size_t length)
     }
     *fmo = NULL;
   } else {
-    GRN_FREE(start);
+    GRN_GFREE(start);
   }
   return r;
 }
-------------- next part --------------
HTML����������������������������...
Download 



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