]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix memory leak in ecc-mul-a-test
authorNiels Möller <nisse@lysator.liu.se>
Sun, 26 Jan 2020 15:20:32 +0000 (16:20 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 26 Jan 2020 15:20:32 +0000 (16:20 +0100)
testsuite/ecc-mul-a-test.c

index ccbd14d5360361e12074af68c77ed26742a1d483..a865d48738a66a8379166e7acbf79ced1dddb9bb 100644 (file)
@@ -84,6 +84,7 @@ test_main (void)
              abort ();
            }
        }
+      free (g);
       free (n);
       free (p);
       free (q);