commit | 83aa61216ced4f86e2ffa0a050a911ecdb9c410c | [log] [tgz] |
---|---|---|
author | Jason Molenda <jmolenda@apple.com> | Tue Dec 18 23:45:45 2018 +0000 |
committer | Jason Molenda <jmolenda@apple.com> | Tue Dec 18 23:45:45 2018 +0000 |
tree | f531e11cd7fe7979e587c1a1744d55fd92551322 | |
parent | 2b7502089fb6260f2c64be5edd776559d2964524 [diff] |
Don't forget to free the libcompression scratch buffer in the dtor. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@349580 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index e63b51e..e0525bd 100644 --- a/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -81,6 +81,9 @@ Disconnect(); } + if (m_decompression_scratch) + free (m_decompression_scratch); + // Stop the communications read thread which is used to parse all incoming // packets. This function will block until the read thread returns. if (m_read_thread_enabled)