aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-16 13:52:30 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-03-16 13:52:30 -0500
commit7e07badcd01e7d30933baa500a43b9cad7aa0205 (patch)
treeb499b1993aad02c882325728ec4f105bfdc265cc
parent4d71bb4b4270c4f15d3ba6aaf0bda7b78307f61f (diff)
downloadayatana-indicator-datetime-7e07badcd01e7d30933baa500a43b9cad7aa0205.tar.gz
ayatana-indicator-datetime-7e07badcd01e7d30933baa500a43b9cad7aa0205.tar.bz2
ayatana-indicator-datetime-7e07badcd01e7d30933baa500a43b9cad7aa0205.zip
plug a string leak when updating appointments
-rw-r--r--src/datetime-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index a782d80..4df2194 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -828,6 +828,7 @@ update_appointment_menu_items (gpointer user_data)
apt_output = SETTINGS_TIME_24_HOUR;
}
}
+ g_free (time_format_str);
GVariantBuilder markeddays;
g_variant_builder_init (&markeddays, G_VARIANT_TYPE ("ai"));