• 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
demo Loading commit data...
doc Loading commit data...
examples Loading commit data...
libfprint Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
HACKING.md Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...