From: Maria Matejka Date: Fri, 13 Dec 2024 18:10:55 +0000 (+0100) Subject: Fixed a subtle memory leak in protocol restart routine X-Git-Tag: v3.0.0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af89c43413f773980b7bcc676f4fe50635b7418d;p=thirdparty%2Fbird.git Fixed a subtle memory leak in protocol restart routine --- diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 329949c28..a0f7d5718 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -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); }