In g_mime_autocrypt_header_list_add_missing_addresses(), ah is created with g_mime_autocrypt_header_new (), and added to list with g_mime_autocrypt_header_list_add (list, ah), which takes a GObject reference when adding it. But ah is not subsequently unreffed, and the object is lost.
In g_mime_autocrypt_header_list_add_missing_addresses(),
ah
is created withg_mime_autocrypt_header_new ()
, and added tolist
withg_mime_autocrypt_header_list_add (list, ah)
, which takes aGObject
reference when adding it. Butah
is not subsequently unreffed, and the object is lost.Previously a GitLab issue.