[llvm] 5a6bc2d - [llvm-c-test] Fix leak after D138415
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 9 12:17:36 PST 2023
Author: Fangrui Song
Date: 2023-02-09T12:17:26-08:00
New Revision: 5a6bc2da7170ea3efc4eb98ec8cac66632246f11
URL: https://github.com/llvm/llvm-project/commit/5a6bc2da7170ea3efc4eb98ec8cac66632246f11
DIFF: https://github.com/llvm/llvm-project/commit/5a6bc2da7170ea3efc4eb98ec8cac66632246f11.diff
LOG: [llvm-c-test] Fix leak after D138415
Added:
Modified:
llvm/tools/llvm-c-test/debuginfo.c
Removed:
################################################################################
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c
index 9b8a2bd6326c5..3e4f155f3c5a8 100644
--- a/llvm/tools/llvm-c-test/debuginfo.c
+++ b/llvm/tools/llvm-c-test/debuginfo.c
@@ -225,6 +225,7 @@ int llvm_get_di_tag(void) {
assert(tag1 == 0x13);
(void)tag1;
+ LLVMDisposeDIBuilder(builder);
LLVMDisposeModule(m);
return 0;
More information about the llvm-commits
mailing list