[Groonga-commit] groonga/groonga at ea81d91 [master] index_column_source_records: fix memory leak

Back to archive index

Naoya Murakami null+****@clear*****
Tue Dec 26 06:06:31 JST 2017


Naoya Murakami	2017-12-26 06:06:31 +0900 (Tue, 26 Dec 2017)

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

  Merged 8d8b9d9: Merge pull request #794 from naoa/index_column_source_records-fix-memory-leak

  Message:
    index_column_source_records: fix memory leak

  Modified files:
    plugins/functions/index_column.c

  Modified: plugins/functions/index_column.c (+1 -0)
===================================================================
--- plugins/functions/index_column.c    2017-12-25 22:44:21 +0900 (e14553c0e)
+++ plugins/functions/index_column.c    2017-12-26 06:06:31 +0900 (813e951ff)
@@ -315,6 +315,7 @@ func_index_column_source_records(grn_ctx *ctx,
           }
 #undef KEY_EQUAL
         }
+        grn_hash_cursor_close(ctx, cursor);
       }
       break;
     default :
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171226/9ee84017/attachment-0001.htm 



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