These were reported from some production deployments on Solaris and identified via Libumem traces.
Periodic querying of the IP address table and software information via a monitoring tool showed slow RSS growth on Solaris.
These were found with version 5.7.2 but I checked the git repo and the same problems are present there.
Attached a patch that fixes these issues.
Thanks for the patch. It has been applied for the 5-7-patches branch and for master.
The load_v6 function in ipaddress2_solaris.c also has a similar leak to the load_v4 function which has been handled by this patch. Attaching a patch which handles this.