projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid mallocing zero bytes in the event log Copy processing, which
[u/mdw/putty]
/
sshrsa.c
diff --git
a/sshrsa.c
b/sshrsa.c
index
bc23c43
..
14cf09a
100644
(file)
--- a/
sshrsa.c
+++ b/
sshrsa.c
@@
-169,5
+169,5
@@
void freersakey(struct RSAKey *key) {
if (key->modulus) freebn(key->modulus);
if (key->exponent) freebn(key->exponent);
if (key->private_exponent) freebn(key->private_exponent);
- if (key->comment) free(key->comment);
+ if (key->comment)
s
free(key->comment);
}