summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBHostOS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBHostOS.cpp')
-rw-r--r--lldb/source/API/SBHostOS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBHostOS.cpp b/lldb/source/API/SBHostOS.cpp
index 86cb66cccdb..d006f18cef4 100644
--- a/lldb/source/API/SBHostOS.cpp
+++ b/lldb/source/API/SBHostOS.cpp
@@ -35,7 +35,7 @@ SBHostOS::ThreadCreate
SBError *error_ptr
)
{
- Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API);
+ LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
if (log)
log->Printf ("SBHostOS::ThreadCreate (name=\"%s\", thread_function=%p, thread_arg=%p, error_ptr=%p)", name,
OpenPOWER on IntegriCloud