HomePhabricator

Fix memory leak in set and map.

Authored by EricWF on Thu, Jul 11, 4:13 PM.

Description

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

Details

Committed
EricWFThu, Jul 11, 4:13 PM
Parents
rG6f8f1a7db7b2: [sancov] Ignore PC samples with value 0
Branches
Unknown
Tags
Unknown