Kouhei Sutou 2018-11-06 13:07:34 +0900 (Tue, 06 Nov 2018) Revision: 2670e9fc6500814949bcdb3cfac31c0060f4f420 https://github.com/groonga/groonga/commit/2670e9fc6500814949bcdb3cfac31c0060f4f420 Message: Fix a typo Modified files: lib/normalizer.c Modified: lib/normalizer.c (+1 -1) =================================================================== --- lib/normalizer.c 2018-11-05 18:36:05 +0900 (d1428a181) +++ lib/normalizer.c 2018-11-06 13:07:34 +0900 (a48247297) @@ -712,7 +712,7 @@ grn_nfkc_normalize_context_expand(grn_ctx *ctx, context->dest = dest; if (context->c) { int16_t *checks; - if (!(checks = GRN_REALLOC(context->c, + if (!(checks = GRN_REALLOC(context->checks, sizeof(int16_t) * (context->size + 1)))) { ERR(GRN_NO_MEMORY_AVAILABLE, "[normalize][nfkc]%s failed to expand checks space", -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181106/b115cad9/attachment.html>