summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/gcj/runtime/natStackTrace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/gcj/runtime/natStackTrace.cc')
-rw-r--r--libjava/gnu/gcj/runtime/natStackTrace.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/libjava/gnu/gcj/runtime/natStackTrace.cc b/libjava/gnu/gcj/runtime/natStackTrace.cc
index af8889beb52..5e5aed87e5c 100644
--- a/libjava/gnu/gcj/runtime/natStackTrace.cc
+++ b/libjava/gnu/gcj/runtime/natStackTrace.cc
@@ -200,4 +200,9 @@ gnu::gcj::runtime::StackTrace::update(void)
}
}
-
+void
+gnu::gcj::runtime::StackTrace::finalize(void)
+{
+ if (addrs != NULL)
+ _Jv_Free (addrs);
+}
OpenPOWER on IntegriCloud