diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 6681f1a..92b3137 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -512,8 +512,8 @@ namespace OpenSim.Services.LLLoginService | |||
512 | // | 512 | // |
513 | if (m_MessageUrl != String.Empty) | 513 | if (m_MessageUrl != String.Empty) |
514 | { | 514 | { |
515 | WebClient client = new WebClient(); | 515 | using(WebClient client = new WebClient()) |
516 | processedMessage = client.DownloadString(m_MessageUrl); | 516 | processedMessage = client.DownloadString(m_MessageUrl); |
517 | } | 517 | } |
518 | else | 518 | else |
519 | { | 519 | { |