summaryrefslogtreecommitdiff
path: root/external/apache2/llvm/dist/clang/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-11-06 21:01:17 +0000
committerchristos <christos@NetBSD.org>2019-11-06 21:01:17 +0000
commit45754521f4436eb2b140e79781c9477f7edecbda (patch)
tree2ed1de154e6e0f2ba938f5604b425e89efa40120 /external/apache2/llvm/dist/clang/lib/CodeGen/CGExprConstant.cpp
parent57ae68da87ff43c8f6317e98ab78fa464ed5ce46 (diff)
Ordinarily, the continue clause of the for-loop would free 'line.' In this
case we instead return early, missing the free. Add an explicit free to avoid the leak. Found via coverity. From Conrad Meyer @ FreeBSD r331230
Diffstat (limited to 'external/apache2/llvm/dist/clang/lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions