[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_0_9_93-5-gfe5dcee

Martin Stromberger noreply at sourceforge.net
Sun Feb 2 19:56:41 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  fe5dcee4b0fcaa2698f094e0b8fbdc6465f5c2ea (commit)
      from  670d8f1657bf01d86fd8fd932fea17b3774dd5cd (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/de.po |  103 +++++++++++++++++++++++++++-----------------------------------
 1 files changed, 45 insertions(+), 58 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list