summaryrefslogtreecommitdiff
path: root/tests/enums.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-10 16:04:01 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-10 16:04:01 +0100
commitff498d4ebcc9554ad8a5e1412b0ae13c63558849 (patch)
tree7d52321d5225c9255c3e8554c123171a5beca55a /tests/enums.c
parent184da485a8b37efdb2531621b57a8bd1da806ec4 (diff)
test_tp_contact_feature: don't leak enum class
Diffstat (limited to 'tests/enums.c')
-rw-r--r--tests/enums.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/enums.c b/tests/enums.c
index 1b2f2c78..d43a0e57 100644
--- a/tests/enums.c
+++ b/tests/enums.c
@@ -28,6 +28,8 @@ test_tp_contact_feature (void)
g_assert (G_IS_ENUM_CLASS (klass));
g_assert_cmpint (klass->n_values, ==, NUM_TP_CONTACT_FEATURES);
+
+ g_type_class_unref (klass);
}