Fix no-ec

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4134)
This commit is contained in:
Dr. Stephen Henson 2017-08-10 16:45:18 +01:00
parent 180c3fc775
commit f50b5f37a3

View file

@ -1452,5 +1452,7 @@ int setup_tests(void)
void cleanup_tests(void)
{
#ifndef OPENSSL_NO_EC
OPENSSL_free(curves);
#endif
}