diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-02-28 23:15:41 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-02-28 23:15:41 +0000 |
commit | 8c0d5ae8fdf1c1fed2ada225e345e72884774042 (patch) | |
tree | 102a630d30394bd3e35421253fc5a8908ce8c175 /src | |
parent | 82f90600647a5322e9e7b58fc127eb8be839165c (diff) |
Memory Management: drop another variable ($callout_address) as it goes out of scope.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/daemon.c | 1 | ||||
-rw-r--r-- | src/src/malware.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c index e9ecbe7d6..d7f579235 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -570,6 +570,7 @@ if (pid == 0) deliver_host_address = deliver_host = deliver_domain_orig = deliver_localpart_orig = NULL; dnslist_domain = dnslist_matched = NULL; + callout_address = NULL; #ifndef DISABLE_DKIM dkim_cur_signer = NULL; #endif diff --git a/src/src/malware.c b/src/src/malware.c index 547bc26e6..549422ebb 100644 --- a/src/src/malware.c +++ b/src/src/malware.c @@ -503,8 +503,8 @@ if (!malware_ok) break; switch(scanent->conn) { - case MC_TCP: sock = ip_tcpsocket(scanner_options, &errstr, 5); break; - case MC_UNIX: sock = ip_unixsocket(scanner_options, &errstr); break; + case MC_TCP: sock = ip_tcpsocket(scanner_options, &errstr, 5); break; + case MC_UNIX: sock = ip_unixsocket(scanner_options, &errstr); break; case MC_STRM: sock = ip_streamsocket(scanner_options, &errstr, 5); break; default: /* compiler quietening */ break; } |