printers: Move ownership of GHashTable to the recipient

Once we call callback passed to the get_ipp_attributes_async()
we should not try to free produced data but keep this to the
caller.

Fixes #2843
This commit is contained in:
Marek Kasik 2024-01-15 16:40:57 +01:00
parent 21b5a64786
commit d12db2f1a3

View file

@ -1213,6 +1213,7 @@ get_ipp_attributes_idle_cb (gpointer user_data)
GIAData *data = (GIAData *) user_data;
data->callback (data->result, data->user_data);
data->result = NULL;
return FALSE;
}