mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fixed a subtle memory leak in protocol restart routine
This commit is contained in:
parent
93621ed9f4
commit
af89c43413
@ -342,6 +342,9 @@ rt_find_source_global(u32 id)
|
|||||||
static inline void
|
static inline void
|
||||||
rt_done_sources(struct rte_owner *o)
|
rt_done_sources(struct rte_owner *o)
|
||||||
{
|
{
|
||||||
|
RTA_LOCK;
|
||||||
|
HASH_FREE(o->hash);
|
||||||
|
RTA_UNLOCK;
|
||||||
ev_send(o->list, o->stop);
|
ev_send(o->list, o->stop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user