[epiphany] ephy-session: fix xmlChar* leak
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-session: fix xmlChar* leak
- Date: Mon, 17 Sep 2012 07:00:41 +0000 (UTC)
commit a23119894a24081989f1b081f6e6a0b2d3897acc
Author: Pavel Vasin <rat4vier gmail com>
Date: Thu Sep 13 11:27:10 2012 +0400
ephy-session: fix xmlChar* leak
https://bugzilla.gnome.org/show_bug.cgi?id=683929
src/ephy-session.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 265a867..ac4c328 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -969,6 +969,9 @@ parse_embed (xmlNodePtr child,
xmlChar* title = xmlGetProp (child, (const xmlChar *) "title");
confirm_before_recover (window, (char*) url, (char*) title);
+
+ if (title)
+ xmlFree (title);
}
xmlFree (url);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]