smtp: fix free on uninitialized pointer

This commit is contained in:
BurnZeZ 2013-10-30 03:12:53 -04:00
parent 7211fd7ce7
commit 9a1e762dcc

View file

@ -328,6 +328,7 @@ wraptls(void)
int fd;
uchar hash[SHA1dlen];
goodcerts = nil;
err = Giveup;
c = mallocz(sizeof(*c), 1);
if (c == nil)