smtp: fix free on uninitialized pointer
This commit is contained in:
parent
7211fd7ce7
commit
9a1e762dcc
1 changed files with 1 additions and 0 deletions
|
@ -328,6 +328,7 @@ wraptls(void)
|
|||
int fd;
|
||||
uchar hash[SHA1dlen];
|
||||
|
||||
goodcerts = nil;
|
||||
err = Giveup;
|
||||
c = mallocz(sizeof(*c), 1);
|
||||
if (c == nil)
|
||||
|
|
Loading…
Reference in a new issue