[epiphany/gnome-40] 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/gnome-40] web-view: fix double free in has_modified_forms_cb
- Date: Fri, 7 May 2021 21:06:01 +0000 (UTC)
commit 36bc697ea0015556b90417951731189beca1c788
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.
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/962>
(cherry picked from commit 45d2a79c91a938295145d43d8195e245a4a5f1fc)
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 9fc1cc28e..bfd6e53d4 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3146,7 +3146,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]