[glib/glib-2-70: 1/18] gdbusauthmechanismsha1: Fix pointer being freed after being NULLed
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-70: 1/18] gdbusauthmechanismsha1: Fix pointer being freed after being NULLed
- Date: Tue, 19 Oct 2021 06:21:25 +0000 (UTC)
commit 5796babc5cd2ea315d3b3771310ee4734c89dda6
Author: Egor Bychin <e bychin drweb com>
Date: Mon Oct 11 13:54:07 2021 +0300
gdbusauthmechanismsha1: Fix pointer being freed after being NULLed
gio/gdbusauthmechanismsha1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gdbusauthmechanismsha1.c b/gio/gdbusauthmechanismsha1.c
index 095a6663e..94fe0bce8 100644
--- a/gio/gdbusauthmechanismsha1.c
+++ b/gio/gdbusauthmechanismsha1.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]