summaryrefslogtreecommitdiff
path: root/bolt/lib/Core/BinarySection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/lib/Core/BinarySection.cpp')
-rw-r--r--bolt/lib/Core/BinarySection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/lib/Core/BinarySection.cpp b/bolt/lib/Core/BinarySection.cpp
index 97bc25193547..564c63e81914 100644
--- a/bolt/lib/Core/BinarySection.cpp
+++ b/bolt/lib/Core/BinarySection.cpp
@@ -198,7 +198,7 @@ BinarySection::~BinarySection() {
if (!isAllocatable() && !hasValidSectionID() &&
(!hasSectionRef() ||
- OutputContents.data() != getContents(Section).data())) {
+ OutputContents.data() != getContentsOrQuit(Section).data())) {
delete[] getOutputData();
}
}