Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shared_ptr: fix dynamic_pointer_cast() dropping a ref after failure
If the input to dynamic_pointer_cast() faild the conversion, we leaked a reference to the input object.
- Loading branch information