Skip to content

Commit 016d6c8

Browse files
pccaugusto2112
authored andcommitted
Add missing freeConstants() call for ConstantPtrAuths.
Fixes memory leak uncovered by llvm#133533.
1 parent 6094180 commit 016d6c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/IR/LLVMContextImpl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ LLVMContextImpl::~LLVMContextImpl() {
107107
ArrayConstants.freeConstants();
108108
StructConstants.freeConstants();
109109
VectorConstants.freeConstants();
110+
ConstantPtrAuths.freeConstants();
110111
InlineAsms.freeConstants();
111112

112113
CAZConstants.clear();

0 commit comments

Comments
 (0)