Merge pull request #13390 from ryndia/master

ospfd: ospf_route.c memory leak fix
This commit is contained in:
Donatas Abraitis 2023-06-08 10:02:28 +03:00 committed by GitHub
commit 1c7d8fa8c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -684,6 +684,8 @@ void ospf_intra_add_stub(struct route_table *rt, struct router_lsa_link *link,
__func__);
}
}
if (rn->info)
ospf_route_free(rn->info);
rn->info = or ;