diff options
-rw-r--r-- | src/common/BackTrace.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/BackTrace.cc b/src/common/BackTrace.cc index ebbb33c0145..6cace65ab6d 100644 --- a/src/common/BackTrace.cc +++ b/src/common/BackTrace.cc @@ -55,6 +55,7 @@ void BackTrace::print(std::ostream& out) } out << " " << (i-skip+1) << ": (" << function << end << std::endl; //fprintf(out, " %s:%s\n", stack.strings[i], function); + free(foo); } else { // didn't find the mangled name, just print the whole line out << " " << (i-skip+1) << ": " << strings[i] << std::endl; |