[GSOC2011 Unit Testing] Fix memory error by not trying to test pointers in deallocated objects.

Author: Muslim Chochlov

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20808 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2011-06-30 17:06:47 +00:00
parent ea7a20b4d5
commit e245eeeecc

View File

@ -672,10 +672,6 @@ test_book_new_destroy( void )
qof_book_destroy( book );
g_assert( qof_book_shutting_down( book ) );
g_assert( test_struct.called );
g_assert( book->hash_of_collections );
g_assert_cmpint( g_hash_table_size( book->hash_of_collections ), ==, 0 );
g_assert( !book->data_tables );
g_assert( !book->data_table_finalizers );
}
void