LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 107 forks source link

Everywhere: Ensure that Qt objects are created with parents #85

Closed ADKaster closed 1 year ago

ADKaster commented 1 year ago

This prevents memory leaks detected by both Valgrind and ASAN/LSAN.

Valgrind is still suspicious of the leaked JS::VM from Web::Bindings::main_thread_vm() but there's other issues with leak checking all the GC'd objects.

Co-Authored-By: Diego Iastrubni diegoiast@gmail.com

Supersedes #80