diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-07-11 23:13:38 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-07-11 23:13:38 +0000 |
commit | 41798c05cd20401b3f77d12b8bfcb0437132021f (patch) | |
tree | 7cc2e4424b6e3dc941421df29e7d90adc5ac2369 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6f8f1a7db7b23dfa30d8de9df9450d8355475974 (diff) | |
download | llvm-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