[glib: 2/19] gdbusauthmechanismsha1: Fix pointer being freed after being NULLed
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/19] gdbusauthmechanismsha1: Fix pointer being freed after being NULLed
- Date: Mon, 18 Oct 2021 11:03:34 +0000 (UTC)
commit 84affed056ac8fbf19b132f0c85549060b37829b
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]