[gnome-keyring] test-asn1: Don't leak 'asn' in test_create_quark()
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] test-asn1: Don't leak 'asn' in test_create_quark()
- Date: Tue, 14 Oct 2014 16:19:35 +0000 (UTC)
commit 610a177931675a08a13681d6741a1d18baaa92ee
Author: Christophe Fergeau <cfergeau redhat com>
Date: Wed Oct 1 22:35:10 2014 +0200
test-asn1: Don't leak 'asn' in test_create_quark()
https://bugzilla.gnome.org/show_bug.cgi?id=738508
egg/test-asn1.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/egg/test-asn1.c b/egg/test-asn1.c
index 7e03549..4f4a778 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]