Fixed memory leak on new servers without a log