From e245eeeeccd25073b1d02e47cb150f51b991f1f7 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 30 Jun 2011 17:06:47 +0000 Subject: [PATCH] [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 --- src/libqof/qof/test/test-qofbook.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libqof/qof/test/test-qofbook.c b/src/libqof/qof/test/test-qofbook.c index 1effaf4613..2bb5e547fa 100644 --- a/src/libqof/qof/test/test-qofbook.c +++ b/src/libqof/qof/test/test-qofbook.c @@ -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