summaryrefslogtreecommitdiff
path: root/egg
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-10-01 22:35:10 +0200
committerStef Walter <stefw@gnome.org>2014-11-13 22:01:53 +0100
commita447ec0df22c99fc75b1719c03baaaabb9f2db43 (patch)
tree2a830a72cd4b0201cb7e177382cc1420ea664a97 /egg
parentb1545fc37600d6e0a018be790c43d87a879e7941 (diff)
downloadgcr-a447ec0df22c99fc75b1719c03baaaabb9f2db43.tar.gz
test-asn1: Don't leak 'asn' in test_create_quark()
https://bugzilla.gnome.org/show_bug.cgi?id=738508
Diffstat (limited to 'egg')
-rw-r--r--egg/test-asn1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/egg/test-asn1.c b/egg/test-asn1.c
index e0921b8..c4750b1 100644
--- a/egg/test-asn1.c
+++ b/egg/test-asn1.c
@@ -2384,6 +2384,7 @@ test_create_quark (void)
asn = egg_asn1x_create_quark (test_asn1_tab, g_quark_from_static_string ("1.5.13"));
g_assert (asn != NULL);
g_assert_cmpstr (egg_asn1x_name (asn), ==, "TestIntegers");
+ egg_asn1x_destroy (asn);
}
static void