projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lli: Plug leaks in the remote target external implementation.
[oota-llvm.git]
/
tools
/
lli
/
ChildTarget
/
Unix
/
ChildTarget.inc
diff --git
a/tools/lli/ChildTarget/Unix/ChildTarget.inc
b/tools/lli/ChildTarget/Unix/ChildTarget.inc
index cd42f34edd53af214fe48e78971751023c470ffd..cc95810dc8c6bf305b890d070a73e616ffe9451a 100644
(file)
--- a/
tools/lli/ChildTarget/Unix/ChildTarget.inc
+++ b/
tools/lli/ChildTarget/Unix/ChildTarget.inc
@@
-49,6
+49,10
@@
struct ConnectionData_t {
} // namespace
+LLIChildTarget::~LLIChildTarget() {
+ delete static_cast<ConnectionData_t *>(ConnectionData);
+}
+
// OS-specific methods
void LLIChildTarget::initializeConnection() {
// Store the parent ends of the pipes