diff options
author | Michael Terry <mike@mterry.name> | 2011-03-24 16:22:52 -0400 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-03-24 16:22:52 -0400 |
commit | b86cc25455f38c4162ecd1fe6add20373c789980 (patch) | |
tree | 8d0935afcfadd0901472a0811db6ee75b884d05b /src/utils.c | |
parent | acfa619b0301301a733e820cdda8d9335a15b45f (diff) | |
download | ayatana-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/utils.c')
-rw-r--r-- | src/utils.c | 2 |
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); } |