fixed memory leak on load_object_ptr and other changes

[SVN r86156]
This commit is contained in:
Robert Ramey
2013-10-04 00:36:37 +00:00
parent 33d737eb4c
commit 875a37f915
102 changed files with 41 additions and 28177 deletions

View File

@@ -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];