about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2024-01-19 22:42:52 +0100
committerThe 8472 <git@infinite-source.de>2024-01-19 23:05:30 +0100
commit5796b3c16733f3d9cb2f3476ed1dc0fe05b14e25 (patch)
treedb3676e5224a21a0a72788410f98f297603aa131 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent32ec40c68533f325a3c8fe787b77ef5c9e209b23 (diff)
downloadrust-5796b3c16733f3d9cb2f3476ed1dc0fe05b14e25.tar.gz
rust-5796b3c16733f3d9cb2f3476ed1dc0fe05b14e25.zip
fix: Drop guard was deallocating with the incorrect size
InPlaceDstBufDrop holds onto the allocation before the shrinking happens
which means it must deallocate the destination elements but the source
allocation.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions