Commit 8de9164b authored by Bastien Nocera's avatar Bastien Nocera

main: Fix memory leak when a save fails

and simplify the flow of that function.

From https://bugs.launchpad.net/ubuntu/+source/fprintd/+bug/1745455/comments/7
parent 267e6b32
Pipeline #8263 failed with stage
in 2 minutes and 55 seconds