Skip to content

gthreadedresolver: ref-sink returned records in lookup_records()

The return value to lookup_records() methods is set as transfer full but the code path in g_resolver_records_from_res_query() doesn't sink the GVariant.

Add the g_variant_ref_sink() call when prepending the record, so the list hold a full reference on each records.

closes #3393 (closed)

Edited by Andy Holmes

Merge request reports