[Xfce4-commits] <xfce4-weather-plugin:master> Fix double free when parsing xml_time.
Harald Judt
noreply at xfce.org
Wed Aug 1 12:08:01 CEST 2012
Updating branch refs/heads/master
to d2496aeae3c2d56d859ea2a7a5400f97ecc11666 (commit)
from c5e86912a6661c6a7b04d66c786693a01a2d45ea (commit)
commit d2496aeae3c2d56d859ea2a7a5400f97ecc11666
Author: Harald Judt <h.judt at gmx.at>
Date: Wed Aug 1 12:04:39 2012 +0200
Fix double free when parsing xml_time.
Copy & paste error introduced in 0e07ddaa53bbde785039dab22c055ae28feb2f76.
panel-plugin/weather-parsers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/weather-parsers.c b/panel-plugin/weather-parsers.c
index 23d8267..f7c2438 100644
--- a/panel-plugin/weather-parsers.c
+++ b/panel-plugin/weather-parsers.c
@@ -260,7 +260,7 @@ parse_time(xmlNode *cur_node,
to = PROP(cur_node, "to");
end_t = parse_xml_timestring(to, NULL);
- xmlFree(from);
+ xmlFree(to);
if (G_UNLIKELY(!start_t || !end_t))
return;
More information about the Xfce4-commits
mailing list