aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/process.c b/process.c
index a880f9e3..22886cbf 100644
--- a/process.c
+++ b/process.c
@@ -799,6 +799,13 @@ sys_execve(struct tcb *tcp)
tprints("]");
}
}
+#ifdef USE_LIBUNWIND
+ else {
+ if (stack_trace_enabled)
+ delete_mmap_cache(tcp);
+ }
+#endif
+
return 0;
}