[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_0_9_93-1-ga62b603

Pierre Biava noreply at sourceforge.net
Mon Nov 25 22:10:47 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  a62b6031f5f3930231fa02603e4edcaf7958e761 (commit)
      from  94a72db586ac3b35a8c125f9c43a27543ed7e197 (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:
 src/import.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list