commit: 51119dfa4421858111ff85292c29f994b803bc9e
parent 784fd85a291d98e5dca5d8fbcc7c7a0688707f03
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 7 Apr 2021 04:25:08 +0200
badwolf: unref website_data_manager once hooked
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);