[Groonga-mysql-commit] mroonga/mroonga at 9172dcc [master] Fix a memory leak introduced at 0fa3fe4

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 13 14:12:45 JST 2014


Kouhei Sutou	2014-10-13 14:12:45 +0900 (Mon, 13 Oct 2014)

  New Revision: 9172dccfb67ae18d348aa55d764745940f696ee6
  https://github.com/mroonga/mroonga/commit/9172dccfb67ae18d348aa55d764745940f696ee6

  Message:
    Fix a memory leak introduced at 0fa3fe4
    
    0fa3fe4 is a commit that supports specifying normalizer in table
    comment.

  Modified files:
    mrn_table.cpp

  Modified: mrn_table.cpp (+2 -0)
===================================================================
--- mrn_table.cpp    2014-10-13 11:20:57 +0900 (917b3e7)
+++ mrn_table.cpp    2014-10-13 14:12:45 +0900 (fd406ac)
@@ -717,6 +717,8 @@ int mrn_free_share_alloc(
     my_free(share->engine, MYF(0));
   if (share->default_tokenizer)
     my_free(share->default_tokenizer, MYF(0));
+  if (share->normalizer)
+    my_free(share->normalizer, MYF(0));
   if (share->token_filters)
     my_free(share->token_filters, MYF(0));
   for (i = 0; i < share->table_share->keys; i++)
-------------- next part --------------
HTML����������������������������...
Download 



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