afserver: small mem leak fixed