• Bastien Nocera's avatar
    mindtct: Fix memory leaks in get_centered_contour() · eaa4aa96
    Bastien Nocera authored
    The first contour wasn't freed if we failed on the second contour.
    
    libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_ex'
          return(ret);
                 ^~~
    libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_ey'
          return(ret);
                 ^~~
    libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_x'
          return(ret);
                 ^~~
    libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_y'
          return(ret);
                 ^~~
    eaa4aa96
Name
Last commit
Last update
..
drivers Loading commit data...
nbis Loading commit data...
drivers_api.h Loading commit data...
empty_file Loading commit data...
fp_internal.h Loading commit data...
fpi-assembling.c Loading commit data...
fpi-assembling.h Loading commit data...
fpi-async.c Loading commit data...
fpi-async.h Loading commit data...
fpi-core.c Loading commit data...
fpi-core.h Loading commit data...
fpi-data.c Loading commit data...
fpi-data.h Loading commit data...
fpi-dev-img.c Loading commit data...
fpi-dev-img.h Loading commit data...
fpi-dev.c Loading commit data...
fpi-dev.h Loading commit data...
fpi-img-pixman.c Loading commit data...
fpi-img.c Loading commit data...
fpi-img.h Loading commit data...
fpi-log.h Loading commit data...
fpi-poll.c Loading commit data...
fpi-poll.h Loading commit data...
fpi-ssm.c Loading commit data...
fpi-ssm.h Loading commit data...
fpi-sync.c Loading commit data...
fpi-usb.c Loading commit data...
fpi-usb.h Loading commit data...
fprint-list-supported-devices.c Loading commit data...
fprint-list-udev-rules.c Loading commit data...
fprint.h Loading commit data...
meson.build Loading commit data...