summaryrefslogtreecommitdiff
path: root/indra/llcrashlogger
diff options
context:
space:
mode:
authorsimon <none@none>2014-02-21 11:18:12 -0800
committersimon <none@none>2014-02-21 11:18:12 -0800
commitea944fd58f6fcaf29a939ed10e9fd5e07b9fb923 (patch)
treed18a3d5fc4f3220fc6d36d24e8cb1b05630e1f9f /indra/llcrashlogger
parenta23fc01c7b12299297124f4b5b6ad4e7a8145c00 (diff)
parent76913530ed04798536e8469dbeaea9e512d122aa (diff)
Merge downstream code
Diffstat (limited to 'indra/llcrashlogger')
-rwxr-xr-xindra/llcrashlogger/llcrashlogger.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcrashlogger/llcrashlogger.cpp b/indra/llcrashlogger/llcrashlogger.cpp
index fb2d43e3b0..aa66ceb4ec 100755
--- a/indra/llcrashlogger/llcrashlogger.cpp
+++ b/indra/llcrashlogger/llcrashlogger.cpp
@@ -44,7 +44,7 @@
#include "llsdserialize.h"
#include "llproxy.h"
-LLPumpIO* gServicePump;
+LLPumpIO* gServicePump = NULL;
BOOL gBreak = false;
BOOL gSent = false;
@@ -80,7 +80,8 @@ LLCrashLogger::LLCrashLogger() :
LLCrashLogger::~LLCrashLogger()
{
-
+ delete gServicePump;
+ gServicePump = NULL;
}
// TRIM_SIZE must remain larger than LINE_SEARCH_SIZE.