aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2013-02-04 15:13:42 +0000
committerTarmac <Unknown>2013-02-04 15:13:42 +0000
commit87f884cbf00391bcbc986c229cd9534f53cf2e05 (patch)
tree29fe7e116f121d4cff64e3492ab0b45a01e4d1c6 /src/datetime-service.c
parent0ae9cd396a70a0f61c9233e446b0169e86f0cf65 (diff)
parenta3db7195f1a7653f49b2d8fc85564d414406e3f0 (diff)
downloadayatana-indicator-datetime-87f884cbf00391bcbc986c229cd9534f53cf2e05.tar.gz
ayatana-indicator-datetime-87f884cbf00391bcbc986c229cd9534f53cf2e05.tar.bz2
ayatana-indicator-datetime-87f884cbf00391bcbc986c229cd9534f53cf2e05.zip
Fix timezonefile reference leak in build_timezone. Fixes: https://bugs.launchpad.net/bugs/1111628.
Approved by Mathieu Trudel-Lapierre, PS Jenkins bot.
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 a46af9e..56ea51c 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -1093,6 +1093,7 @@ build_timezone (DatetimeInterface * dbus)
} else {
g_warning("Unable to monitor timezone file: '" TIMEZONE_FILE "'");
}
+ g_object_unref(timezonefile);
return;
}