Skip to content
Snippets Groups Projects
Commit 7d4d28d2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Rémi Denis-Courmont
Browse files

core: jaro_winkler: Fix leak

parent c0ecf026
No related branches found
No related tags found
1 merge request!1074core: jaro_winkler: Fix leak
Pipeline #171307 passed with stage
in 13 minutes and 21 seconds
......@@ -124,6 +124,7 @@ static inline int jaro_inner(const char *a, const char *b, size_t *ret_prefix_cc
}
a_char++;
}
free(b_consumed);
if (matches == 0) {
*res = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment