[gnome-keyring] egg/test-dn: Don't leak GBytes created in test_dn_value()
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] egg/test-dn: Don't leak GBytes created in test_dn_value()
- Date: Tue, 14 Oct 2014 16:19:05 +0000 (UTC)
commit 326a94543c5cc6c44d3fd9e1b7fd6eb11a2ea998
Author: Christophe Fergeau <cfergeau redhat com>
Date: Wed Sep 17 11:52:27 2014 +0200
egg/test-dn: Don't leak GBytes created in test_dn_value()
https://bugzilla.gnome.org/show_bug.cgi?id=738508
egg/test-dn.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/egg/test-dn.c b/egg/test-dn.c
index d080079..b058405 100644
--- a/egg/test-dn.c
+++ b/egg/test-dn.c
@@ -98,6 +98,7 @@ test_dn_value (Test* test, gconstpointer unused)
text = egg_dn_print_value (oid, asn);
g_assert_cmpstr (text, ==, "Thawte Personal Premium CA");
g_free (text);
+ g_bytes_unref (bytes);
/* Unknown oid */
oid = g_quark_from_static_string ("1.1.1.1.1.1");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]