[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_0_9_99-1-g7982af3

Pierre Biava noreply at sourceforge.net
Mon Feb 24 22:16:55 CET 2014


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  7982af323a7eb83f203fbab1dd466c7e6463ae79 (commit)
      from  41d0bd01667c68b0f58da6393186944e0e3c8ae7 (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:
 AUTHORS |    6 +++++-
 INSTALL |    3 ++-
 NEWS    |   31 +++++++++++++++++++------------
 README  |   12 +++++++++++-
 4 files changed, 37 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list