[epiphany] web-extension: plug leaked string
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-extension: plug leaked string
- Date: Tue, 16 Jun 2015 10:45:09 +0000 (UTC)
commit 372b2bbb0e160997d5e47d062c50d85cac18b878
Author: Claudio Saavedra <csaavedra igalia com>
Date: Tue Jun 16 13:38:17 2015 +0300
web-extension: plug leaked string
embed/web-extension/ephy-web-extension.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 11ed2c1..730aa5b 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -603,7 +603,7 @@ show_user_choices (WebKitDOMDocument *document,
long x, y;
long input_width;
char *style_attribute;
- const char* username;
+ char* username;
g_object_get (username_node,
"value", &username,
@@ -702,6 +702,7 @@ show_user_choices (WebKitDOMDocument *document,
NULL);
}
+ g_free (username);
body = WEBKIT_DOM_NODE (webkit_dom_document_get_body (document));
webkit_dom_node_append_child (WEBKIT_DOM_NODE (body),
WEBKIT_DOM_NODE (main_div),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]