[grisbi-cvs] [SCM] grisbi branch, grisbi-0.8.x, updated. upstream_version_0_8_2-9-g784682f

Pierre Biava nobody at users.sourceforge.net
Tue Mar 1 22:51:12 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, grisbi-0.8.x has been updated
       via  784682ff1d68836e08046b2a6688905f47d03c88 (commit)
      from  d6d967a6dc255a00cd414cd6d6f5bc24d75ee73d (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 784682ff1d68836e08046b2a6688905f47d03c88
Author: pbiava <pierre.biava at nerim.net>
Date:   Tue Mar 1 21:43:56 2011 +0100

    fixes a potential crash
    (cherry picked from commit bdfb6b16c1ca25920f06174e212a07df11533413)

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

Changes:
diff --git a/src/import.c b/src/import.c
index 5543aa1..2af01b2 100644
--- a/src/import.c
+++ b/src/import.c
@@ -2117,7 +2117,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;
 
@@ -2161,7 +2160,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