Displaying 1 result from an estimated 1 matches for "svc_postmortem".
2003 Apr 18
0
[Fwd: Xinetd 2.3.10 Memory Leaks]
...> return;
>
> }
>
> CONN_CLOSE(cp);
>
> }
>
> }
>
>
>
> The above code has several problems. One background piece of information
>
> is that the sigchld handler in xinetd (child_exit->server_end->
>
> svc_postmortem) normally frees the connection's data. If the ret_code is
>
> not OK, the connection was only closed. This is little more than close(cp-
>
> >co_descriptor); This does not free cp since sigchld will not be called.
>
> It was only if the log service call failed that the...