Navigation Menu

Skip to content

Commit

Permalink
Add missing unlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 5, 2014
1 parent 7d11c2f commit 60b9ffe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/proc.c
Expand Up @@ -3053,6 +3053,7 @@ proc_normalize(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data
GRN_TEXT_VALUE(&inspected));
GRN_OBJ_FIN(ctx, &inspected);
GRN_OUTPUT_CSTR("");
grn_obj_unlink(ctx, normalizer);
return NULL;
}

Expand Down Expand Up @@ -3246,6 +3247,7 @@ create_lexicon_for_tokenize(grn_ctx *ctx,
(int)GRN_TEXT_LEN(&inspected),
GRN_TEXT_VALUE(&inspected));
GRN_OBJ_FIN(ctx, &inspected);
grn_obj_unlink(ctx, normalizer);
return NULL;
}
}
Expand Down

0 comments on commit 60b9ffe

Please sign in to comment.