diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-20 22:20:25 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-20 22:22:30 +0100 |
commit | 4b09d2b4d3958b58b020c1ae21fcd932e1eb6c37 (patch) | |
tree | abba9eb25d2d7d4c9804ba56741e08e40b0fe417 /common/tests/test-hash.c | |
parent | 57d8f36a6cfbde5a9a783f11f2b75f19005c23e1 (diff) |
Fix memory leaks reported by 'make leakcheck'
Diffstat (limited to 'common/tests/test-hash.c')
-rw-r--r-- | common/tests/test-hash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/tests/test-hash.c b/common/tests/test-hash.c index d6d7990..c8694e1 100644 --- a/common/tests/test-hash.c +++ b/common/tests/test-hash.c @@ -89,6 +89,8 @@ test_sha1_long (CuTest *cu) p11_hash_sha1 (checksum, input, 1000000, NULL); CuAssertTrue (cu, memcmp (expected, checksum, P11_HASH_SHA1_LEN) == 0); + + free (input); } const char *md5_input[] = { |