[Lldb-commits] [PATCH] D68641: [LLDB] Fix for synthetic children memory leak

Cameron via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 8 09:48:47 PDT 2019


cameron314 added a comment.

@aprantl No. A weak pointer would still fix the memory leak, but it's safe to use a raw pointer because we only reference objects which are in the same cluster as the synthetic children front-end itself. The other (leak-free) synthetic front-ends do this as well. We want shared/weak pointers externally, but not within the cluster.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68641/new/

https://reviews.llvm.org/D68641





More information about the lldb-commits mailing list