diff options
Diffstat (limited to 'tests/datetime/test-timezone-gfx.c')
-rw-r--r-- | tests/datetime/test-timezone-gfx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/datetime/test-timezone-gfx.c b/tests/datetime/test-timezone-gfx.c index 22619c30c..1c25d4886 100644 --- a/tests/datetime/test-timezone-gfx.c +++ b/tests/datetime/test-timezone-gfx.c @@ -29,6 +29,7 @@ test_timezone_gfx (gconstpointer data) location = locs->pdata[i]; info = tz_info_from_location (location); selected_offset = tz_location_get_utc_offset (location) / (60.0 * 60.0) + (info->daylight ? -1.0 : 0.0); + tz_info_free (info); filename = g_strdup_printf ("timezone_%s.png", g_ascii_formatd (buf, sizeof (buf), "%g", selected_offset)); path = g_build_filename (pixmap_dir, filename, NULL); |