mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[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:
parent
ea7a20b4d5
commit
e245eeeecc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user