Skip to content

fp-print: Set the aligned_data as the data used by the cleanup function

Marco Trevisan requested to merge 3v1n0/libfprint:deserialize-leak-fix into master

g_variant_new_from_data() allows to destroy some other user_data passed as parameter that might be different from the aligned_data itself.

But since in this case they match, pass it to be set as g_free parameter or it won't be free'd.

Merge request reports