mirror of
https://github.com/status-im/BearSSL.git
synced 2025-02-24 00:18:09 +00:00
No need to check for NULL, free_private_key() already does that.
This commit is contained in:
parent
49a0bdc0a9
commit
6b4cd86094
@ -1036,9 +1036,7 @@ server_exit:
|
||||
}
|
||||
xfree(chain);
|
||||
}
|
||||
if (sk != NULL) {
|
||||
free_private_key(sk);
|
||||
}
|
||||
free_private_key(sk);
|
||||
xfree(iobuf);
|
||||
xfree(cache);
|
||||
if (fd >= 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user