Commit 43d4d194 authored by Niels Möller's avatar Niels Möller

Fix memory leak in test case.

parent 6a411c71
2014-07-17 Niels Möller <nisse@lysator.liu.se>
* testsuite/curve25519-dup-test.c (test_main): Free allocated
storage.
2014-07-15 Niels Möller <nisse@lysator.liu.se> 2014-07-15 Niels Möller <nisse@lysator.liu.se>
* ecc-add-eh.c (ecc_add_eh, ecc_add_eh_itch): New file, new * ecc-add-eh.c (ecc_add_eh, ecc_add_eh_itch): New file, new
......
...@@ -76,4 +76,10 @@ test_main (void) ...@@ -76,4 +76,10 @@ test_main (void)
ecc_eh_to_a (ecc, 0, pa, pe, scratch); ecc_eh_to_a (ecc, 0, pa, pe, scratch);
test_ecc_point (ecc, &g4, pa); test_ecc_point (ecc, &g4, pa);
free (g);
free (z);
free (pe);
free (pa);
free (scratch);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment