[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memory leak in pflocal
From: |
Roland McGrath |
Subject: |
Re: memory leak in pflocal |
Date: |
Sun, 11 Feb 2001 18:05:52 -0500 (EST) |
> > You should be guaranteed that the queues are empty (length 0) by the
> > time you get there (because anyone on the queue would hold a ref to the
> > sock). But it wouldn't hurt to have an assert in connq_destroy.
>
> Wouldn't it be more logical to have that assertion in sock_free?
It could be argued both ways, but since the structure contents are only
visible inside connq.c, that's where it must go.