mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:16:43 +00:00
Merge pull request #14803 from Keelan10/fix-babel-leak
babeld: Free IPv4 Memory in interface_reset
This commit is contained in:
commit
3c4d64d7d4
@ -695,6 +695,9 @@ interface_reset(struct interface *ifp)
|
||||
babel_ifp->cost,
|
||||
babel_ifp->ipv4 ? ", IPv4" : "");
|
||||
|
||||
if (babel_ifp->ipv4 != NULL)
|
||||
free(babel_ifp->ipv4);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user