aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/message.cpp21
1 files changed, 14 insertions, 7 deletions
diff --git a/linden/indra/llmessage/message.cpp b/linden/indra/llmessage/message.cpp
index 29f232c..ab41cca 100644
--- a/linden/indra/llmessage/message.cpp
+++ b/linden/indra/llmessage/message.cpp
@@ -1344,12 +1344,17 @@ LLMessageSystem::~LLMessageSystem()
1344 end_net(); 1344 end_net();
1345 } 1345 }
1346 1346
1347 delete mMessageReader; 1347 delete mTemplateMessageReader;
1348 mTemplateMessageReader = NULL;
1348 mMessageReader = NULL; 1349 mMessageReader = NULL;
1349 1350
1350 delete mMessageBuilder; 1351 delete mTemplateMessageBuilder;
1352 mTemplateMessageBuilder = NULL;
1351 mMessageBuilder = NULL; 1353 mMessageBuilder = NULL;
1352 1354
1355 delete mLLSDMessageReader;
1356 mLLSDMessageReader = NULL;
1357
1353 delete mPollInfop; 1358 delete mPollInfop;
1354 mPollInfop = NULL; 1359 mPollInfop = NULL;
1355 1360
@@ -2942,17 +2947,19 @@ static LLHTTPNode& messageRootNode()
2942} 2947}
2943 2948
2944//static 2949//static
2945void LLMessageSystem::dispatch(const std::string& msg_name, 2950void LLMessageSystem::dispatch(
2946 const LLSD& message) 2951 const std::string& msg_name,
2952 const LLSD& message)
2947{ 2953{
2948 LLPointer<LLSimpleResponse> responsep = LLSimpleResponse::create(); 2954 LLPointer<LLSimpleResponse> responsep = LLSimpleResponse::create();
2949 dispatch(msg_name, message, responsep); 2955 dispatch(msg_name, message, responsep);
2950} 2956}
2951 2957
2952//static 2958//static
2953void LLMessageSystem::dispatch(const std::string& msg_name, 2959void LLMessageSystem::dispatch(
2954 const LLSD& message, 2960 const std::string& msg_name,
2955 LLHTTPNode::ResponsePtr responsep) 2961 const LLSD& message,
2962 LLHTTPNode::ResponsePtr responsep)
2956{ 2963{
2957 if (msg_name.empty()) 2964 if (msg_name.empty())
2958 { 2965 {