Free the non-fatal "timestamp missing" debug string manually as it is
not covered by the catch-all free for the error cases. Found by: Coverity
This commit is contained in:
parent
181c4ec270
commit
ccd040ab18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253395
@ -1041,9 +1041,12 @@ syncache_expand(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th,
|
||||
* reports of non-compliants stacks.
|
||||
*/
|
||||
if ((sc->sc_flags & SCF_TIMESTAMP) && !(to->to_flags & TOF_TS)) {
|
||||
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
|
||||
if ((s = tcp_log_addrs(inc, th, NULL, NULL))) {
|
||||
log(LOG_DEBUG, "%s; %s: Timestamp missing, "
|
||||
"no action\n", s, __func__);
|
||||
free(s, M_TCPLOG);
|
||||
s = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user