diff options
author | BurnZeZ <brz-9dev@intma.in> | 2013-10-30 03:12:53 -0400 |
---|---|---|
committer | BurnZeZ <brz-9dev@intma.in> | 2013-10-30 03:12:53 -0400 |
commit | 9a1e762dcc561a5e759803593f3af3d16bad3b6a (patch) | |
tree | 420412179ca287385afbdfaae2c0bb5304089ce0 /sys/src/cmd/upas/smtp | |
parent | 7211fd7ce71de2347f3a00f1229ee1ac74b006e9 (diff) |
smtp: fix free on uninitialized pointer
Diffstat (limited to 'sys/src/cmd/upas/smtp')
-rw-r--r-- | sys/src/cmd/upas/smtp/smtp.c | 1 |
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) |