Memleak: free the vector of URLs to try to connect to.
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 14 May 2011 09:49:43 +0000 (09:49 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 14 May 2011 09:49:43 +0000 (09:49 +0000)
citadel/modules/smtp/serv_smtpeventclient.c

index a523f9347f8da87ec204caff45a783479d3c4d33..c8b5ba166a5227d243650503e706b0244a88d81b 100644 (file)
@@ -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... */