summaryrefslogtreecommitdiff
path: root/sys/src/cmd/upas/smtp
diff options
context:
space:
mode:
authorBurnZeZ <brz-9dev@intma.in>2013-10-30 03:12:53 -0400
committerBurnZeZ <brz-9dev@intma.in>2013-10-30 03:12:53 -0400
commit9a1e762dcc561a5e759803593f3af3d16bad3b6a (patch)
tree420412179ca287385afbdfaae2c0bb5304089ce0 /sys/src/cmd/upas/smtp
parent7211fd7ce71de2347f3a00f1229ee1ac74b006e9 (diff)
smtp: fix free on uninitialized pointer
Diffstat (limited to 'sys/src/cmd/upas/smtp')
-rw-r--r--sys/src/cmd/upas/smtp/smtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/upas/smtp/smtp.c b/sys/src/cmd/upas/smtp/smtp.c
index 41395899a..37fb5fbd7 100644
--- a/sys/src/cmd/upas/smtp/smtp.c
+++ b/sys/src/cmd/upas/smtp/smtp.c
@@ -328,6 +328,7 @@ wraptls(void)
int fd;
uchar hash[SHA1dlen];
+ goodcerts = nil;
err = Giveup;
c = mallocz(sizeof(*c), 1);
if (c == nil)