• Bastien Nocera's avatar
    mindtct: Fix memory leak in error path in gen_image_maps() · a53f07a8
    Bastien Nocera authored
    Free the maps if we're not returning them.
    
    libfprint/nbis/mindtct/maps.c:176:14: warning: Potential leak of memory pointed to by 'direction_map'
          return(ret);
                 ^~~
    libfprint/nbis/mindtct/maps.c:195:14: warning: Potential leak of memory pointed to by 'low_contrast_map'
          return(ret);
                 ^~~
    libfprint/nbis/mindtct/maps.c:195:14: warning: Potential leak of memory pointed to by 'low_flow_map'
          return(ret);
                 ^~~
    a53f07a8
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...