summaryrefslogtreecommitdiff
path: root/egg
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-10-01 22:35:39 +0200
committerStef Walter <stefw@gnome.org>2014-10-14 17:55:45 +0200
commitdbc6af0ea986a4840e6a8a06d632435332c6d2a4 (patch)
treec58fccec1fd0f94672f17f9a7f8e460094a5ef04 /egg
parent610a177931675a08a13681d6741a1d18baaa92ee (diff)
downloadgnome-keyring-dbc6af0ea986a4840e6a8a06d632435332c6d2a4.tar.gz
test-padding: Don't leak egg_padding_pkcs1_pad_02 return value
egg_padding_pkcs1_pad_02 returns newly allocated data which must be g_free'ed after use. https://bugzilla.gnome.org/show_bug.cgi?id=738508
Diffstat (limited to 'egg')
-rw-r--r--egg/test-padding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/egg/test-padding.c b/egg/test-padding.c
index aecdd378..54a526ce 100644
--- a/egg/test-padding.c
+++ b/egg/test-padding.c
@@ -114,6 +114,7 @@ test_pkcs1_two_padding (void)
g_assert (result[5] == 0x00);
g_assert (result[6] == 'T');
g_assert (result[7] == 'E');
+ g_free (vesult);
}
static void