mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Fix minor memory leak in mail.cc (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566524)
This commit is contained in:
parent
1de2a9e6c5
commit
4264f759bb
@ -429,6 +429,7 @@ struct mail_s *parse_mail_args(char type, const char *arg)
|
|||||||
} else if (type == IMAP_TYPE) {
|
} else if (type == IMAP_TYPE) {
|
||||||
NORM_ERR("Scanning IMAP args failed");
|
NORM_ERR("Scanning IMAP args failed");
|
||||||
}
|
}
|
||||||
|
delete mail;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
// see if password needs prompting
|
// see if password needs prompting
|
||||||
|
Loading…
Reference in New Issue
Block a user