[gcr] 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: [gcr] egg/test-dn: Don't leak GBytes created in test_dn_value()
- Date: Thu, 13 Nov 2014 21:05:12 +0000 (UTC)
commit 427eb52bfb6efb3c491be14c4d2e7d9ea019608b
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 f209068..4144a70 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]