From 2cd7050a54b6db73f375c4215075b290b675bd0c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 6 Aug 2008 18:28:10 +0000 Subject: When dumping stack traces, allow libc to allocate its own memory, rather than trying to manage a buffer ourselves, and free it with std::free without memory leak tracing. --- lib/common/Utils.cpp | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/lib/common/Utils.cpp b/lib/common/Utils.cpp index 972a817d..b2a16d5b 100644 --- a/lib/common/Utils.cpp +++ b/lib/common/Utils.cpp @@ -68,20 +68,13 @@ void SplitString(const std::string &String, char SplitOn, std::vector