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 master in 5 minutes and 57 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #62405
build

00:02:46

 
  Test
passed #62406
flatpak master

00:03:10