The kroute code can leak rtlabel references in various conditions.
In the end we want to drop the reference before free().
So move the unref into kroute_remove() so it is done mostly in one place.
On top fix a few other places where kroutes are freed.
This diff is on top of the previous diff (re
On Tue, Jun 07, 2022 at 05:49:53PM +0200, Claudio Jeker wrote:
> The kroute code can leak rtlabel references in various conditions.
> In the end we want to drop the reference before free().
> So move the unref into kroute_remove() so it is done mostly in one place.
> On top fix a few other places w
On Tue, Jun 07, 2022 at 06:21:37PM +0200, Theo Buehler wrote:
> On Tue, Jun 07, 2022 at 05:49:53PM +0200, Claudio Jeker wrote:
> > The kroute code can leak rtlabel references in various conditions.
> > In the end we want to drop the reference before free().
> > So move the unref into kroute_remove(