summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sal/backtrace.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sal/backtrace.hxx b/include/sal/backtrace.hxx
index 2c854e102eef..f437a3b73620 100644
--- a/include/sal/backtrace.hxx
+++ b/include/sal/backtrace.hxx
@@ -29,6 +29,7 @@
struct BacktraceState {
void** buffer;
int nDepth;
+ ~BacktraceState() {delete[] buffer;}
};
SAL_DLLPUBLIC std::unique_ptr<BacktraceState> SAL_CALL sal_backtrace_get(