mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-01 08:52:08 +00:00
fixed memory leak on load_object_ptr and other changes
[SVN r86156]
This commit is contained in:
@@ -453,9 +453,9 @@ basic_iarchive_impl::load_pointer(
|
||||
}
|
||||
BOOST_ASSERT(NULL != bpis_ptr);
|
||||
class_id_type new_cid = register_type(bpis_ptr->get_basic_serializer());
|
||||
BOOST_VERIFY(register_type(bpis_ptr->get_basic_serializer()) == cid);
|
||||
int i = cid;
|
||||
cobject_id_vector[i].bpis_ptr = bpis_ptr;
|
||||
BOOST_ASSERT(new_cid == cid);
|
||||
}
|
||||
int i = cid;
|
||||
cobject_id & co = cobject_id_vector[i];
|
||||
|
||||
Reference in New Issue
Block a user