Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit51119dfa4421858111ff85292c29f994b803bc9e (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-04-07 04:25:08 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-04-07 04:26:23 +0200
Files3140538041dcb7b2bfa7b9a22f16389d2274cfa8
goodwolf-51119dfa4421858111ff85292c29f994b803bc9e.tar
goodwolf-51119dfa4421858111ff85292c29f994b803bc9e.tar.gz
goodwolf-51119dfa4421858111ff85292c29f994b803bc9e.zip
Parent784fd85a291d98e5dca5d8fbcc7c7a0688707f03 (diff)
badwolf: unref website_data_manager once hooked
1 files changed, 1 insertions, 0 deletions
-rw-r--r--badwolf.c1
diff --git a/badwolf.c b/badwolf.c
index 977f214..1476868 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -671,6 +671,7 @@ new_browser(struct Window *window, const gchar *target_url, struct Client *old_b
WebKitWebContext *web_context =
webkit_web_context_new_with_website_data_manager(website_data_manager);
+ g_object_unref(website_data_manager);
webkit_web_context_set_sandbox_enabled(web_context, TRUE);
webkit_web_context_set_process_model(web_context,
WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);