aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Vasin <rat4vier@gmail.com>2012-09-13 15:27:10 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-17 15:00:02 +0800
commita23119894a24081989f1b081f6e6a0b2d3897acc (patch)
treea7917413e77c6ac3703566a0f472a9ddf9c02ee8 /src
parentce03b41e127d730479d124091e305e99e4fd7e17 (diff)
downloadgsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.tar
gsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.tar.gz
gsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.tar.bz2
gsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.tar.lz
gsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.tar.xz
gsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.tar.zst
gsoc2013-epiphany-a23119894a24081989f1b081f6e6a0b2d3897acc.zip
ephy-session: fix xmlChar* leak
https://bugzilla.gnome.org/show_bug.cgi?id=683929
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 265a867c2..ac4c328a3 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);