workaround potencial memory leak

LSLKeyTest
UbitUmarov 2016-08-22 06:06:13 +01:00
parent 5d5bad5fc1
commit 27dcb01b2e
1 changed files with 2 additions and 2 deletions

View File

@ -512,8 +512,8 @@ namespace OpenSim.Services.LLLoginService
// //
if (m_MessageUrl != String.Empty) if (m_MessageUrl != String.Empty)
{ {
WebClient client = new WebClient(); using(WebClient client = new WebClient())
processedMessage = client.DownloadString(m_MessageUrl); processedMessage = client.DownloadString(m_MessageUrl);
} }
else else
{ {