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'
            free(nbr_sqr_dists);
            ^~~~
2 jobs from wip/hadess/scan-build-cleanup in 7 minutes and 6 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #62403
build

00:02:54

 
  Test
passed #62404
flatpak master

00:04:11