[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9.0-30-g0a815f4

Pierre Biava nobody at users.sourceforge.net
Tue Mar 1 22:51:21 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, master has been updated
       via  0a815f42a6da3cc0aaa0cfcd8efc43001a3e9c2b (commit)
      from  71383019ff1cca91ba6c141e6c0aa56573c6db41 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0a815f42a6da3cc0aaa0cfcd8efc43001a3e9c2b
Author: pbiava <pierre.biava at nerim.net>
Date:   Tue Mar 1 22:48:53 2011 +0100

    fixes a potential crash

-----------------------------------------------------------------------

Changes:
diff --git a/src/import.c b/src/import.c
index b3fa609..524eddb 100644
--- a/src/import.c
+++ b/src/import.c
@@ -2119,7 +2119,6 @@ gboolean gsb_import_define_action ( struct struct_compte_importation *imported_a
     GSList *list_tmp;
     gint demande_confirmation = FALSE;
     GSList *list_tmp_transactions;
-	gchar* tmpstr;
 
     list_tmp = imported_account -> operations_importees;
 
@@ -2163,7 +2162,6 @@ gboolean gsb_import_define_action ( struct struct_compte_importation *imported_a
             /* found the cheque, forget that transaction */
             imported_transaction -> action = IMPORT_TRANSACTION_LEAVE_TRANSACTION;
         }
-        g_free ( tmpstr );
 
         /* no id, no cheque, try to find the transaction */
         if ( imported_transaction -> action != IMPORT_TRANSACTION_LEAVE_TRANSACTION )


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list