From 2ea98fb813283a72698682e3f51f3ae13b614889 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 23 Oct 2001 17:40:27 +0000 Subject: plug leak 2001-10-22 JP Rosevear * e-pilot-map.c (map_set_node_timet): plug leak svn path=/trunk/; revision=13945 --- e-util/ChangeLog | 6 +++++- e-util/e-pilot-map.c | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 4a184cd61b..18626d9060 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2001-10-22 JP Rosevear + + * e-pilot-map.c (map_set_node_timet): plug leak + 2001-10-23 Dan Winship * e-html-utils.c (e_text_to_html_full): Change " " to " " at @@ -17,7 +21,7 @@ backtick in email addresses, or pipes following URLs. 2001-10-22 JP Rosevear - + * e-dbhash.c (e_dbhash_foreach_key): null out DBT memory prior to usage (from Edd Dumbill ) diff --git a/e-util/e-pilot-map.c b/e-util/e-pilot-map.c index 54552b4dca..fb978b08ec 100644 --- a/e-util/e-pilot-map.c +++ b/e-util/e-pilot-map.c @@ -49,6 +49,7 @@ map_set_node_timet (xmlNodePtr node, const char *name, time_t t) tstring = g_strdup_printf ("%ld", t); xmlSetProp (node, name, tstring); + g_free (tstring); } static void -- cgit v1.2.3