[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_0_9_93-3-g8a2c9ac

Pierre Biava noreply at sourceforge.net
Sun Dec 15 18:33:51 CET 2013


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-1.0.x has been updated
       via  8a2c9acf7221516b3a3d302fd94f4256f559c002 (commit)
      from  f405a6df4c53689c009ceefe8bfd0b5f74315b5c (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 -----------------------------------------------------------------
http://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit b194749970ff89f803f8604033efa3b5e3870060
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date:   Sat Nov 23 20:37:40 2013 +0100

    Fix crash on exit
    
    Do not call g_free() on already deallocated memory.
    
    Fixes bug 1613 http://www.grisbi.org/bugsreports/view.php?id=1613

diff --git a/src/bet_graph.c b/src/bet_graph.c
index 8dd6f51..e482b14 100644
--- a/src/bet_graph.c
+++ b/src/bet_graph.c
@@ -2480,8 +2480,16 @@ void bet_graph_set_configuration_variables ( const gchar *string )
  * */
 void struct_free_bet_graph_prefs ( void )
 {
-    g_free ( prefs_prev );
-    g_free ( prefs_hist );
+    if ( prefs_prev )
+    {
+        g_free ( prefs_prev );
+        prefs_prev = NULL;
+    }
+    if ( prefs_hist )
+    {
+        g_free ( prefs_hist );
+        prefs_hist = NULL;
+    }
 }
 
 

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

Summary of changes:
 po/fr.po |  227 ++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 112 insertions(+), 115 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list