mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Memory leak.
This commit is contained in:
parent
4a6222d71b
commit
8652d1c22e
@ -158,6 +158,7 @@ bad:
|
||||
goto end;
|
||||
}
|
||||
BIO_free(in);
|
||||
in = NULL;
|
||||
|
||||
out=BIO_new(BIO_s_file());
|
||||
if (out == NULL) goto end;
|
||||
@ -193,6 +194,7 @@ bad:
|
||||
end:
|
||||
if (ret != 0)
|
||||
ERR_print_errors(bio_err);
|
||||
if (in != NULL) BIO_free(in);
|
||||
if (out != NULL) BIO_free(out);
|
||||
if (dsa != NULL) DSA_free(dsa);
|
||||
EXIT(ret);
|
||||
|
Loading…
Reference in New Issue
Block a user