https://bugs.documentfoundation.org/show_bug.cgi?id=99352

--- Comment #4 from Björn Michaelsen <[email protected]> ---
(In reply to Noel Grandin from comment #3)
> I can't see us fixing all of those, unless they are actually referenced
> post-deinit.

I just wonder: Could we have a clang plugin that rewrites VclPtr::operator=()
to something VclPtr::assign(ptr, __FILE__, __LINE__) so we can register where a
VclPtr was assigned in that global registry? We could then output something
like:

LEAKED VCLPTR: P12OutputDevice refered to from a PK6VclPtrI12OutputDeviceE
assigned at vcl/foo/bar.cxx:564

which should make hunting down these much easier ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to