]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
umac-test: Fixed memory leak.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 15 Apr 2013 12:07:38 +0000 (14:07 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 15 Apr 2013 12:07:38 +0000 (14:07 +0200)
ChangeLog
testsuite/umac-test.c

index a4dd7b2b7aefc0b577b459f0213c5a565b444c20..1d5a93f17fb66fd992f6c8a18df4c1456ad4e1a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-15  Niels Möller  <nisse@lysator.liu.se>
+
+       * testsuite/umac-test.c (test_align): Fixed memory leak.
+
 2013-04-12  Niels Möller  <nisse@lysator.liu.se>
 
        * armv7/umac-nh.asm: New file. 2.4 time speedup.
index 203e28a3eb548a0c05c089ea4bd893e034856ada..452596dac27eb1546012d55f54daf333328cd769 100644 (file)
@@ -152,6 +152,7 @@ test_align (const struct tstring *key,
                    &ctx128, (nettle_hash_digest_func *) umac128_digest,
                    msg, length, 16, ref128->data);
     }
+  free (buffer);
 }
 
 void