[epiphany/mcatanzaro/modified-forms-double-free] web-view: fix double free in has_modified_forms_cb
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/modified-forms-double-free] web-view: fix double free in has_modified_forms_cb
- Date: Tue, 4 May 2021 20:18:37 +0000 (UTC)
commit 371dc7f4033fdae75af2f12e3976090c1d7cf22d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue May 4 15:16:57 2021 -0500
web-view: fix double free in has_modified_forms_cb
It's freed twice in a row in this function, oops.
embed/ephy-web-view.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 9c3afddc7..2bcb619c4 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3139,7 +3139,6 @@ has_modified_forms_cb (WebKitWebView *view,
} else {
retval = jsc_value_to_boolean (webkit_javascript_result_get_js_value (js_result));
g_task_return_boolean (task, retval);
- webkit_javascript_result_unref (js_result);
}
out:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]