Merge pull request #13368 from Keelan10/nhrpd-memory-leak

nhrpd: Fix nhrpd memory leak
This commit is contained in:
Donatas Abraitis 2023-04-26 08:57:52 +03:00 committed by GitHub
commit 13c426150f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,6 +420,7 @@ void nhrp_nhs_terminate(void)
&nifp->afi[afi].nhslist_head, nhs) &nifp->afi[afi].nhslist_head, nhs)
nhrp_nhs_free(nifp, afi, nhs); nhrp_nhs_free(nifp, afi, nhs);
} }
nhrp_peer_interface_del(ifp);
} }
} }