projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b04f0d
)
GDateTime test: plug a couple of leaks
author
Ryan Lortie
<desrt@desrt.ca>
Sat, 3 Sep 2011 01:03:33 +0000
(21:03 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Sat, 3 Sep 2011 01:05:53 +0000
(21:05 -0400)
glib/tests/gdatetime.c
patch
|
blob
|
history
diff --git
a/glib/tests/gdatetime.c
b/glib/tests/gdatetime.c
index
4140251
..
b47f02b
100644
(file)
--- a/
glib/tests/gdatetime.c
+++ b/
glib/tests/gdatetime.c
@@
-1084,6
+1084,8
@@
test_all_dates (void)
else
week_num++;
}
+
+ g_date_time_unref (dt);
}
}
@@
-1103,6
+1105,7
@@
test_z (void)
gchar *p = g_date_time_format (dt, "%z");
g_assert_cmpstr (p, ==, "-0800");
g_date_time_unref (dt);
+ g_time_zone_unref (tz);
g_free (p);
}