aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-01-26 11:12:48 -0500
committerMichael Terry <mike@mterry.name>2011-01-26 11:12:48 -0500
commitc023a16ebdef8c0bdbd10cdfe9cf753afad1191b (patch)
treea1d73dda564a4246ad5fb2084f63aa6953b1e706 /src/datetime-service.c
parent665f9ece45a30a255c85aab6b9a855dda8a56b1d (diff)
downloadayatana-indicator-datetime-c023a16ebdef8c0bdbd10cdfe9cf753afad1191b.tar.gz
ayatana-indicator-datetime-c023a16ebdef8c0bdbd10cdfe9cf753afad1191b.tar.bz2
ayatana-indicator-datetime-c023a16ebdef8c0bdbd10cdfe9cf753afad1191b.zip
fix some crashes
Diffstat (limited to 'src/datetime-service.c')
-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 020371f..d80fc18 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -415,6 +415,7 @@ update_appointment_menu_items (gpointer user_data) {
i++;
}
g_free(ecal); // Really we should do the setup somewhere where we know it'll only run once, right now, we'll do it every time and free it.
+ ecal = NULL;
return TRUE;
}