diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-02 01:29:13 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-02 01:29:13 +0000 |
commit | 0b42ac32c80bb307ba68706b9b240c4a55dd8823 (patch) | |
tree | 087b3a5922d19b0c601b7cd7ddba125f6d2f25ab /lldb/source/Plugins/Process/gdb-remote | |
parent | 2a91225c23d355760cd63d524595690142b22527 (diff) | |
download | bcm5719-llvm-0b42ac32c80bb307ba68706b9b240c4a55dd8823.tar.gz bcm5719-llvm-0b42ac32c80bb307ba68706b9b240c4a55dd8823.zip |
More leaks detection:
- fixed 3 posix spawn attributes leaks
- fixed us always leaking CXXBaseSpecifier objects when we create class
base classes. Clang apparently copies the base classes we pass in.
Fixed some code formatting in ClangASTContext.cpp.
llvm-svn: 107459
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 1452cc8905a..7d22b9dca26 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1869,6 +1869,9 @@ ProcessGDBRemote::StartDebugserverProcess (char * const*)inferior_envp), eErrorTypePOSIX); + + ::posix_spawnattr_destroy (&attr); + if (file_actions_err.Success()) ::posix_spawn_file_actions_destroy (&file_actions); |