Don't leak HashContexts
commit173234079897d6bd3b8f807af1960bbd1cdae7af
authormwilliams <mwilliams@fb.com>
Sat, 8 Nov 2014 02:14:42 +0000 (7 18:14 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Mon, 10 Nov 2014 00:00:28 +0000 (9 16:00 -0800)
treedfbf7e7da4ab3921c565b0a0ea2911fe3c0c0d8e
parent2320a895fded0f0069cd7fda185de3e020143682
Don't leak HashContexts

Summary: HashContext is allocated via the global operator new,
and it contains a std::shared_ptr, so we need the default
sweep behavior, which is "delete this".

Reviewed By: @bertmaher

Differential Revision: D1668713

Signature: t1:1668713:1415417867:13da80e72cce887104b547e737fbbd37fcbd52cc
hphp/runtime/ext/ext_hash.cpp