This is not actually a leak since the application will terminate immediately ifa restrict key cannot be generated.