Kouhei Sutou
null+****@clear*****
Sun Aug 10 12:22:45 JST 2014
Kouhei Sutou 2014-08-10 12:22:45 +0900 (Sun, 10 Aug 2014) New Revision: 223ecfa43a451aa06f979aa590aeda7cbac3e0ff https://github.com/groonga/groonga/commit/223ecfa43a451aa06f979aa590aeda7cbac3e0ff Message: Fix a memory leak Modified files: lib/proc.c Modified: lib/proc.c (+1 -0) =================================================================== --- lib/proc.c 2014-08-10 12:20:52 +0900 (715cc9b) +++ lib/proc.c 2014-08-10 12:22:45 +0900 (768aef3) @@ -4910,6 +4910,7 @@ func_highlight_full(grn_ctx *ctx, int nargs, grn_obj **args, GRN_TEXT_VALUE(&inspected)); GRN_OBJ_FIN(ctx, &inspected); grn_obj_unlink(ctx, normalizer); + grn_obj_unlink(ctx, keywords); return NULL; } grn_obj_set_info(ctx, keywords, GRN_INFO_NORMALIZER, normalizer); -------------- next part -------------- HTML����������������������������... 下載