If there are any objects left in the all_FE_element_field_info and all_FE_element_shape lists, which indicates there is a leak, the destroy list function caused the objects to be deallocated twice due to the deaccess logic which enables these global lists to be private. Now checking there are no objects left before destroying each all_list and warning if there are.
If there are any objects left in the all_FE_element_field_info and
all_FE_element_shape lists, which indicates there is a leak, the
destroy list function caused the objects to be deallocated twice due
to the deaccess logic which enables these global lists to be
private. Now checking there are no objects left before destroying each
all_list and warning if there are.


git-svn-id: 4705079bc6b8aadf675e3696f5c015a6aa4916e3@1673 3c1deb5b-d424-0410-962d-aba41a686d42

OpenCMISS/zinc,hsorby/zinc,hsorby/zinc,OpenCMISS/zinc,OpenCMISS/zinc,OpenCMISS/zinc,hsorby/zinc,hsorby/zinc