Fix a double-free encountered when failing to initialize a handle table bucket (dotne...
authorSean Gillespie <sean@swgillespie.me>
Thu, 27 Apr 2017 17:09:32 +0000 (10:09 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2017 17:09:32 +0000 (10:09 -0700)
commitdc4016a06986024548ade3c8f65cabd42b07aa93
tree9b6a74252cfc3ba425e57836c2118df830bb305e
parent6876032b7b21d4e4281fccbe02d0c896e0cdb054
Fix a double-free encountered when failing to initialize a handle table bucket (dotnet/coreclr#11244)

* Fix a double-free encountered when failing to initialize a handle table bucket

* Don't free m_bucket in the destructor of HandleTableBucketHolder

Commit migrated from https://github.com/dotnet/coreclr/commit/b06509c4f35212f097345bba7404b47da86b96c5
src/coreclr/src/gc/objecthandle.cpp