summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.h
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-04-28 19:18:47 +0100
committerStinson Linden <stinson@lindenlab.com>2014-04-28 19:18:47 +0100
commit37d620463b6f6d0ec932f1660f314268bafa229a (patch)
tree04264ab005d52b4107b4b33ad83adf9f4e3021ba /indra/llcommon/llerror.h
parentb31bfdba37398e3100e8e209d407cea6065ce52a (diff)
MAINT-4009: Cleaning up the error callstacks memory before app quit.
Diffstat (limited to 'indra/llcommon/llerror.h')
-rwxr-xr-xindra/llcommon/llerror.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h
index bc80e64423..63040e1772 100755
--- a/indra/llcommon/llerror.h
+++ b/indra/llcommon/llerror.h
@@ -261,6 +261,9 @@ namespace LLError
private:
static char** sBuffer ;
static S32 sIndex ;
+
+ static void allocateStackBuffer();
+ static void freeStackBuffer();
public:
static void push(const char* function, const int line) ;
@@ -268,6 +271,7 @@ namespace LLError
static void print() ;
static void clear() ;
static void end(std::ostringstream* _out) ;
+ static void cleanup();
};
}