summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc')
-rw-r--r--llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc b/llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc
index cd42f34edd5..cc95810dc8c 100644
--- a/llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc
+++ b/llvm/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
OpenPOWER on IntegriCloud