[gcr] test-asn1: Don't leak 'asn' in test_create_quark()
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] test-asn1: Don't leak 'asn' in test_create_quark()
- Date: Thu, 13 Nov 2014 21:05:07 +0000 (UTC)
commit a447ec0df22c99fc75b1719c03baaaabb9f2db43
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 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]