From: Wilfried Goesgens Date: Sat, 14 May 2011 09:49:43 +0000 (+0000) Subject: Memleak: free the vector of URLs to try to connect to. X-Git-Tag: v8.11~1061 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=9bcef6a6c0b251361c5922c7e54ab81d6f99313d Memleak: free the vector of URLs to try to connect to. --- diff --git a/citadel/modules/smtp/serv_smtpeventclient.c b/citadel/modules/smtp/serv_smtpeventclient.c index a523f9347..c8b5ba166 100644 --- a/citadel/modules/smtp/serv_smtpeventclient.c +++ b/citadel/modules/smtp/serv_smtpeventclient.c @@ -99,6 +99,7 @@ void DeleteSmtpOutMsg(void *v) ares_free_data(Msg->AllMX); if (Msg->HostLookup.VParsedDNSReply != NULL) Msg->HostLookup.DNSReplyFree(Msg->HostLookup.VParsedDNSReply); + FreeURL(&Msg->Relay); FreeStrBuf(&Msg->msgtext); FreeAsyncIOContents(&Msg->IO); memset (Msg, 0, sizeof(SmtpOutMsg)); /* just to be shure... */