LadybirdBrowser / ancient-history

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

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

Closed ADKaster closed 2 years ago

ADKaster commented 2 years 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