diff options
| author | Jason Molenda <jmolenda@apple.com> | 2014-03-07 23:28:54 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2014-03-07 23:28:54 +0000 |
| commit | 0d6a1ff23d2106e1348add3ad906c9ba0258998f (patch) | |
| tree | 551c0942b97e9a2e554b8495eab218153c02d79c | |
| parent | d33e94295899364dfb7bbb0a130cab5fdfe26abc (diff) | |
| download | bcm5719-llvm-0d6a1ff23d2106e1348add3ad906c9ba0258998f.tar.gz bcm5719-llvm-0d6a1ff23d2106e1348add3ad906c9ba0258998f.zip | |
Fix a small inferior process memory leak in SystemRuntimeMacOSX::PopulatePendingItemsForQueue().
llvm-svn: 203312
| -rw-r--r-- | lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp index 838757bdb2c..d4d60b3a05f 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp @@ -566,6 +566,8 @@ SystemRuntimeMacOSX::PopulatePendingItemsForQueue (Queue *queue) queue->PushPendingQueueItem (queue_item_sp); } + m_page_to_free = ret.item_buffer_ptr; + m_page_to_free_size = ret.item_buffer_size; } } } |

