0
0
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:
Maria Matejka 2024-12-13 19:10:55 +01:00
parent 93621ed9f4
commit af89c43413

View File

@ -342,6 +342,9 @@ rt_find_source_global(u32 id)
static inline void
rt_done_sources(struct rte_owner *o)
{
RTA_LOCK;
HASH_FREE(o->hash);
RTA_UNLOCK;
ev_send(o->list, o->stop);
}