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-10-14 17:55:45 +0200
commit610a177931675a08a13681d6741a1d18baaa92ee (patch)
tree6a2b3cc01f4d29845d5ecf575f7aab53a3650289 /egg
parent1e18f347a1a3444b3fc7126af087d0c90a791e57 (diff)
downloadgnome-keyring-610a177931675a08a13681d6741a1d18baaa92ee.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 7e03549c..4f4a7782 100644
--- a/egg/test-asn1.c
+++ b/egg/test-asn1.c
@@ -2385,6 +2385,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