• Bastien Nocera's avatar
    lib: Fix memory leak on error in fp_print_data_save() · 21bac430
    Bastien Nocera authored
    libfprint/fpi-data.c:393:3: warning: Potential leak of memory pointed to by 'buf'
                    fp_err("couldn't create storage directory");
                    ^~~~~~
    libfprint/fpi-log.h:75:16: note: expanded from macro 'fp_err'
     #define fp_err g_warning
                   ^~~~~~~~~
    21bac430
fpi-data.c 23.8 KB