remove memleak introduced by GenerateLocalHostName HUP bugfix