projects
/
BearSSL
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a0bdc
)
No need to check for NULL, free_private_key() already does that.
author
Thomas Pornin
<pornin@bolet.org>
Wed, 9 Nov 2016 20:00:11 +0000
(21:00 +0100)
committer
Thomas Pornin
<pornin@bolet.org>
Wed, 9 Nov 2016 20:00:11 +0000
(21:00 +0100)
tools/server.c
patch
|
blob
|
history
diff --git
a/tools/server.c
b/tools/server.c
index
0572928
..
89d529b
100644
(file)
--- a/
tools/server.c
+++ b/
tools/server.c
@@
-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) {