Commit db607c4a authored by Bastien Nocera's avatar Bastien Nocera

mindtct: Fix memory leak in error path in find_neighbors()

libfprint/nbis/mindtct/ridges.c:284:13: warning: Potential leak of memory pointed to by 'nbr_list'
parent a53f07a8
Pipeline #12071 passed with stages
in 5 minutes and 57 seconds
......@@ -281,6 +281,7 @@ int find_neighbors(int **onbr_list, int *onnbrs, const int max_nbrs,
if((ret = update_nbr_dists(nbr_list, nbr_sqr_dists, &nnbrs, max_nbrs,
first, second, minutiae))){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment