This is a nice memory leak detect module stripped from strongswan 4.5.0