Skip to content
Snippets Groups Projects
Commit 43d4d194 authored by Niels Möller's avatar Niels Möller
Browse files

Fix memory leak in test case.

parent 6a411c71
Branches
Tags
No related merge requests found
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);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment