[grisbi-cvs] grisbi/src/tests gsb_data_account_cunit.c,1.2,1.3

Mathias Lorente m-lorente at users.sourceforge.net
Fri May 14 21:03:49 CEST 2010


Update of /cvsroot/grisbi/grisbi/src/tests
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26635/src/tests

Modified Files:
	gsb_data_account_cunit.c 
Log Message:
Less and less memory leak...

Index: gsb_data_account_cunit.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/tests/gsb_data_account_cunit.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gsb_data_account_cunit.c	13 May 2010 18:38:11 -0000	1.2
+++ gsb_data_account_cunit.c	14 May 2010 19:03:46 -0000	1.3
@@ -109,13 +109,13 @@
     CU_ASSERT_EQUAL(210000002, balance.mantissa);
     CU_ASSERT_EQUAL(1, balance.exponent);
 
-    g_date_free(date);
     /*
     gsb_data_transaction_remove_transaction( tr_number_3 );
     gsb_data_transaction_remove_transaction( tr_number_2 );
     gsb_data_transaction_remove_transaction( tr_number_1 );
     */
     gsb_data_account_delete( account_number );
+    g_date_free(date);
 }
 
 CU_pSuite gsb_data_account_cunit_create_suite()



More information about the cvs mailing list