diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-09-17 11:52:27 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2014-10-14 17:55:44 +0200 |
commit | 326a94543c5cc6c44d3fd9e1b7fd6eb11a2ea998 (patch) | |
tree | a0ee589552e6ee722a74041d8e9b2d929d983bbf /egg | |
parent | 8ea8329cc09e263d9628e791e0f5a464bde63413 (diff) | |
download | gnome-keyring-326a94543c5cc6c44d3fd9e1b7fd6eb11a2ea998.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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/egg/test-dn.c b/egg/test-dn.c index d0800797..b0584054 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"); |