[Lldb-commits] [PATCH] D104093: [lldb] Move once_flags in HostInfoLinux so the internal state struct

Vitaly Buka via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 10 23:47:40 PDT 2021


vitalybuka added inline comments.


================
Comment at: lldb/source/Host/linux/HostInfoLinux.cpp:41
 
   g_fields = new HostInfoLinuxFields();
 }
----------------
this still does not solve memory leak if HostInfoLinux::Initialize called twice


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

https://reviews.llvm.org/D104093



More information about the lldb-commits mailing list