aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-03-24 16:22:52 -0400
committerMichael Terry <mike@mterry.name>2011-03-24 16:22:52 -0400
commitb86cc25455f38c4162ecd1fe6add20373c789980 (patch)
tree8d0935afcfadd0901472a0811db6ee75b884d05b /src
parentacfa619b0301301a733e820cdda8d9335a15b45f (diff)
downloadayatana-indicator-datetime-b86cc25455f38c4162ecd1fe6add20373c789980.tar.gz
ayatana-indicator-datetime-b86cc25455f38c4162ecd1fe6add20373c789980.tar.bz2
ayatana-indicator-datetime-b86cc25455f38c4162ecd1fe6add20373c789980.zip
fix memory leak that also prevented us noticing when the timezone got updated
Diffstat (limited to 'src')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 537495b..d8851aa 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -233,6 +233,8 @@ generate_format_string_at_time (GDateTime * time)
g_date_time_unref(future_bound);
}
+ g_date_time_unref (now);
+
return generate_format_string_full(show_day, show_date);
}