vcl/source/app/scheduler.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit c5f4ff057e78ab69c14423c269e2040a7ec15f78 Author: Christopher Sherlock <chris.sherloc...@gmail.com> AuthorDate: Sat Aug 16 19:22:09 2025 +1000 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Wed Sep 10 08:46:19 2025 +0200 vcl: statement on next line to prevent confusion Change-Id: I5d02749d2bbcb17bfb3a72d5f370ac2256e400d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189785 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx index 64495994e6e5..73a9f1388044 100644 --- a/vcl/source/app/scheduler.cxx +++ b/vcl/source/app/scheduler.cxx @@ -135,7 +135,9 @@ void Scheduler::ImplDeInitScheduler() assert( nullptr == rSchedCtx.mpSchedulerStack || (!rSchedCtx.mpSchedulerStack->mpTask && !rSchedCtx.mpSchedulerStack->mpNext) ); - if (rSchedCtx.mpSalTimer) rSchedCtx.mpSalTimer->Stop(); + if (rSchedCtx.mpSalTimer) + rSchedCtx.mpSalTimer->Stop(); + delete rSchedCtx.mpSalTimer; rSchedCtx.mpSalTimer = nullptr;