Fix for server_string memory leak

Fix for server_string memory leak