[evolution-activesync] _eas2ical_convert_datetime_property: fix memory leak in logging warning
- From: Patrick Ohly <pohly src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-activesync] _eas2ical_convert_datetime_property: fix memory leak in logging warning
- Date: Mon, 9 Feb 2015 13:52:02 +0000 (UTC)
commit 63f51d82ed9e906ebcdc7c8876b40b215b5ae8f8
Author: Graham R. Cobb <g+syncevolution cobb uk net>
Date: Tue Nov 11 20:45:52 2014 +0000
_eas2ical_convert_datetime_property: fix memory leak in logging warning
Correct the call of icaltime_as_ical_string_r to be icaltime_as_ical_string
so that string will be released by libical.
eas-daemon/libeas/eas-cal-info-translator.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/eas-daemon/libeas/eas-cal-info-translator.c b/eas-daemon/libeas/eas-cal-info-translator.c
index 51bccb9..d25317f 100644
--- a/eas-daemon/libeas/eas-cal-info-translator.c
+++ b/eas-daemon/libeas/eas-cal-info-translator.c
@@ -479,7 +479,7 @@ static gboolean _eas2ical_convert_datetime_property(icalproperty *prop,
} else tt=localtt;
} else {
if (tt.hour || tt.minute || tt.second)
- g_warning("All day event with no timezone does not start at UTC midnight:
%s", icaltime_as_ical_string_r(tt));
+ g_warning("All day event with no timezone does not start at UTC midnight:
%s", icaltime_as_ical_string(tt));
}
// If the sanity check (see above) failed, don't mark as a date
if (isAllDayEvent && !tt.hour && !tt.minute && !tt.second)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]