gdbusauthmechanismsha1: Fix pointer being freed after being NULLed

This commit is contained in:
Egor Bychin 2021-10-11 13:54:07 +03:00 committed by Philip Withnall
parent 25009189d1
commit 5796babc5c

View File

@ -881,8 +881,8 @@ keyring_generate_entry (const gchar *cookie_context,
error))
{
*out_id = 0;
*out_cookie = 0;
g_free (*out_cookie);
*out_cookie = 0;
ret = FALSE;
goto out;
}