summaryrefslogtreecommitdiff
path: root/egg
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-09-17 11:52:27 +0200
committerStef Walter <stefw@gnome.org>2014-11-13 22:02:24 +0100
commit427eb52bfb6efb3c491be14c4d2e7d9ea019608b (patch)
treeb1b92f1178bac29cff7d297b5cf579d7e21836d4 /egg
parenta447ec0df22c99fc75b1719c03baaaabb9f2db43 (diff)
downloadgcr-427eb52bfb6efb3c491be14c4d2e7d9ea019608b.tar.gz
egg/test-dn: Don't leak GBytes created in test_dn_value()
https://bugzilla.gnome.org/show_bug.cgi?id=738508
Diffstat (limited to 'egg')
-rw-r--r--egg/test-dn.c1
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");