3 ms·
With LSan, you can use __lsan_do_recoverable_leak_check to get leak reports during run time.
by nwellnhof 3y ago
With LSan, you can use __lsan_do_recoverable_leak_check to get leak reports during run time.
- eatonphil 3y agoThank you! I wasn't aware of this.
- gkfasdfasdf 3y agoThat wouldn't help find this particular resource leakage since the memory is still referenced somewhere by the app - so LSan wouldn't regard the memory as leaked.
- zare_st 3y agoValgrind will show these as "still reachable"