[grisbi-cvs] [SCM] grisbi branch, grisbi-0.8.x, updated. upstream_version_0_8_6-1-gbdacc0c

Pierre Biava nobody at users.sourceforge.net
Tue May 24 23:27:50 CEST 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  bdacc0c1f3a0308f33601156cc65ba3a4be52b01 (commit)
      from  902288ea2d9a2470710d7a87080f6c8e1f5d9213 (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 bdacc0c1f3a0308f33601156cc65ba3a4be52b01
Author: pbiava <pierre.biava at nerim.net>
Date:   Tue May 24 23:27:00 2011 +0200

    fixed a crash when import a qif file

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

Changes:
diff --git a/src/import.c b/src/import.c
index da1c195..67a9c06 100644
--- a/src/import.c
+++ b/src/import.c
@@ -2853,7 +2853,7 @@ gint gsb_import_create_transaction ( struct struct_ope_importation *imported_tra
          * if it's not used before, else we show an warning message */
         if ( gsb_data_transaction_check_content_payment ( payment_number, imported_transaction -> cheque ) )
         {
-        gchar* tmpstr = g_strdup_printf ( _("Warning : the cheque number %s is already used.\nWe skip it"),
+        tmpstr = g_strdup_printf ( _("Warning : the cheque number %s is already used.\nWe skip it"),
                         imported_transaction -> cheque );
         dialogue_warning ( tmpstr );
         g_free ( tmpstr );
@@ -2862,7 +2862,6 @@ gint gsb_import_create_transaction ( struct struct_ope_importation *imported_tra
         gsb_data_transaction_set_method_of_payment_content ( transaction_number,
                         imported_transaction -> cheque );
     }
-    g_free ( tmpstr );
     }
     else
     {


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list