comphelper/source/misc/emscriptenthreading.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6bb0c4ee5883912ecde026b009f5742d06713aef
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Feb 18 11:01:25 2025 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Tue Feb 18 12:52:43 2025 +0100

    Missing delete of emscriptenthreading::Data
    
    ...lacking from 364508802571c25ac993e9327c67e2d5c575f668 "Experimental
    Emscripten Qt6 --enable-emscripten-proxy-to-pthread ersatz", but rather 
academic
    anyway, as LOWA doesn't terminate in the traditional sense (and just stops 
when
    you close its browser tab)
    
    Change-Id: I04d5ccbd5b9fa8350a9e3d949bf3903bc4692c53
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181823
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/comphelper/source/misc/emscriptenthreading.cxx 
b/comphelper/source/misc/emscriptenthreading.cxx
index 483e3c7445ad..622e8abb7408 100644
--- a/comphelper/source/misc/emscriptenthreading.cxx
+++ b/comphelper/source/misc/emscriptenthreading.cxx
@@ -45,6 +45,7 @@ void comphelper::emscriptenthreading::tearDown()
     assert(data != nullptr);
     data->eventHandlerThread.request_stop();
     data->eventHandlerThread.join();
+    delete data;
     data = nullptr;
 }
 

Reply via email to