Fix memory leak in ecdsa_test.

This one really needs to get C++'d.

Change-Id: I088f3b77867af0cfc2da8324ba87954ef4cbba74
Reviewed-on: https://boringssl-review.googlesource.com/4350
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2015-04-15 15:28:16 -04:00 committed by Adam Langley
parent 25f0846316
commit e65855c36f

View File

@ -313,6 +313,8 @@ static int test_builtin(FILE *out) {
}
fprintf(out, ".");
fflush(out);
ECDSA_SIG_free(ecdsa_sig);
ecdsa_sig = NULL;
OPENSSL_free(signature);
signature = NULL;