Skip to content
Commit 099fd374 authored by Richard Smith's avatar Richard Smith
Browse files

Fix undefined behavior due to deleting an object with a non-virtual

destructor via a pointer of the wrong static type.

This caused crashes during deallocation in C++14 builds when using a
deallocator whose sized delete requires the size argument to be correct.

Also make the LazyCallThroughManager destructor protected to catch this
sort of bug in the future.
parent f49edafd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment