• 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
..
bozorth3 Loading commit data...
include Loading commit data...
mindtct Loading commit data...
lfs.h.patch Loading commit data...
remove-function.lua Loading commit data...
update-from-nbis.sh Loading commit data...