diff options
author | Martin Ebourne <martin@ebourne.me.uk> | 2005-12-20 08:15:28 +0000 |
---|---|---|
committer | Martin Ebourne <martin@ebourne.me.uk> | 2005-12-20 08:15:28 +0000 |
commit | ee95f5d73a7f2ca50d38dea6e862a6c683dfc8cc (patch) | |
tree | 6bd6cf80ae96e637ae1558e8497e9386ddeca0f5 | |
parent | dd60d9ad699c056ee7bf7649ef456780df47b521 (diff) |
Better to leak block quietly from backtrace_symbols on debug build than erroneously report a leak when there isn't one
-rw-r--r-- | lib/common/Utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/Utils.cpp b/lib/common/Utils.cpp index b4d3144b..63d45b5a 100644 --- a/lib/common/Utils.cpp +++ b/lib/common/Utils.cpp @@ -76,7 +76,9 @@ void DumpStackBacktrace() for(i = 0; i < size; i++) printf("%s\n", strings[i]); +#ifndef MEMLEAKFINDER_MALLOC_MONITORING_DEFINED free (strings); +#endif } #endif |