thom311 / libnl

Netlink Library Suite
GNU Lesser General Public License v2.1
419 stars 311 forks source link

Addtional leak removal and couple of improvements for xfrm code #366

Closed spellingmistake closed 9 months ago

spellingmistake commented 9 months ago

Hi Thomas, these patches started out on an earlier version of libnl. When rebasing them to main (is renaming master to main RedHat policy?) I noticed that one change (fixing the leak in sa.c) was already applied (differently). I decided to stick with my changes. The introduced macros also add the nl_addr_put but also to sp.c. The other two changes aren't particularly important., but fix some potential issues when using libnl.

thom311 commented 9 months ago

merged as cd4016bab267e6984693032338c8f43232ff6a3e.

Thank you!!