aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-07-11 23:13:38 +0000
committerEric Fiselier <eric@efcs.ca>2019-07-11 23:13:38 +0000
commit41798c05cd20401b3f77d12b8bfcb0437132021f (patch)
tree7cc2e4424b6e3dc941421df29e7d90adc5ac2369 /clang/lib/Frontend/CompilerInvocation.cpp
parent6f8f1a7db7b23dfa30d8de9df9450d8355475974 (diff)
downloadllvm-41798c05cd20401b3f77d12b8bfcb0437132021f.zip
llvm-41798c05cd20401b3f77d12b8bfcb0437132021f.tar.gz
llvm-41798c05cd20401b3f77d12b8bfcb0437132021f.tar.bz2
Fix memory leak in set and map.
When assigning an initializer list into set/map, libc++ would leak memory if the initializer list contained equivalent keys because we failed to check if the insertion was successful. llvm-svn: 365840
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions