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 passed with stage
in 5 minutes and 33 seconds