aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);