Fix msan issue
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 8 May 2019 23:16:43 +0000 (16:16 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 8 May 2019 23:16:43 +0000 (16:16 -0700)
commitafb013f350b0022ae6c05f140aeba23d5de34101
tree4ec6ed64bc2f265fa3de05e24ab8bf2107e81863
parent4c94bc63d914fac7e11940eb165b6cf1039ba5a1
Fix msan issue

hb_identity returns rvalue-reference if input is rvalue.  That, can leak
the reference and cause in bad access to temporaries after they are
destructed.  This is unfortunately unfixable given the desired
transparency of hb_identity :(.  Just don't use it with hb_map().
src/test-iter.cc