summaryrefslogtreecommitdiff
path: root/lib/common/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/Utils.cpp')
-rw-r--r--lib/common/Utils.cpp2
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