[epiphany/pgriffis/web-extension/get-views] WebExtension: Fix double-free in JSON usage
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/web-extension/get-views] WebExtension: Fix double-free in JSON usage
- Date: Mon, 30 May 2022 17:52:10 +0000 (UTC)
commit 7dc82980c0b7ddea0a79d8d8fdea1657f3a865c8
Author: Patrick Griffis <pgriffis igalia com>
Date: Mon May 30 12:51:53 2022 -0500
WebExtension: Fix double-free in JSON usage
embed/web-process-extension/ephy-webextension-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/web-process-extension/ephy-webextension-common.c
b/embed/web-process-extension/ephy-webextension-common.c
index e94b3211b..89ef48d38 100644
--- a/embed/web-process-extension/ephy-webextension-common.c
+++ b/embed/web-process-extension/ephy-webextension-common.c
@@ -27,7 +27,7 @@ js_getmessage (const char *message,
gpointer user_data)
{
JsonObject *translations = user_data;
- g_autoptr (JsonObject) translation = NULL;
+ JsonObject *translation = NULL;
if (!translations)
return g_strdup (message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]