]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6: fix memory leak in ospf6_abr_examin_summary
authorPat Ruddy <pat@voltanet.io>
Tue, 25 May 2021 08:38:26 +0000 (09:38 +0100)
committerPat Ruddy <pat@voltanet.io>
Thu, 27 May 2021 11:57:25 +0000 (12:57 +0100)
commitde4a0bdaa6d8dbdea3cbe96056e3c0cbbbf9619b
treee8fdfe1c24637be0c00112a95c03c865a5bfcc01
parent6e33da38392fc566d5df8a0563a33ec9557166a3
ospf6: fix memory leak in ospf6_abr_examin_summary

Ensure that if allocated route is not added to a table then it is
deleted to avoid leaking memory.
Add a new memory type for route table so that ospf6 routes can be
distinguished in the show memory output in isolation.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
ospf6d/ospf6_abr.c
ospf6d/ospf6_route.c