[libgdata] core: Fix a small memory leak in a date parsing function
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] core: Fix a small memory leak in a date parsing function
- Date: Fri, 20 Jun 2014 09:51:01 +0000 (UTC)
commit 8e2b4040870844b3976b5f087a8f18107988b486
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Jun 20 10:42:39 2014 +0100
core: Fix a small memory leak in a date parsing function
https://bugzilla.gnome.org/show_bug.cgi?id=731949
gdata/gdata-parser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdata/gdata-parser.c b/gdata/gdata-parser.c
index ff0f768..9d24962 100644
--- a/gdata/gdata-parser.c
+++ b/gdata/gdata-parser.c
@@ -262,6 +262,8 @@ gdata_parser_int64_to_json_iso8601 (gint64 _time)
retval = g_strjoinv (".000001+00:00", date_time_components);
g_strfreev (date_time_components);
+ g_free (iso8601);
+
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]