[Lldb-commits] [PATCH] D116707: [lldb] fix memory leak in "GetGDBServerRegisterInfoXMLAndProcess"

Lirong Yuan via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 7 10:45:07 PST 2022


yuanzi updated this revision to Diff 398193.
yuanzi added a comment.

free->xmlFree, remove conversions from std::string to llvm::StringRef.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116707

Files:
  lldb/include/lldb/Host/XML.h
  lldb/source/Host/common/XML.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116707.398193.patch
Type: text/x-patch
Size: 4587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220107/5d679c38/attachment.bin>


More information about the lldb-commits mailing list