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:
parent
25f0846316
commit
e65855c36f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user