[epiphany/gnome-3-16] web-extension: plug leaked string
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-16] web-extension: plug leaked string
- Date: Tue, 23 Jun 2015 13:06:07 +0000 (UTC)
commit 2196b1b306aab96255ba2414619be6b106340668
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 86e600a..c101986 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -601,7 +601,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,
@@ -700,6 +700,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]