[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_0_9_93-7-g3702d40

Pierre Biava noreply at sourceforge.net
Tue Feb 4 20:15:11 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  3702d40d1fed52627761b4fc186bb5742020cb27 (commit)
       via  f30025c0ad469f848f9a1a852bd2dcdcd5a6fe4a (commit)
      from  fe5dcee4b0fcaa2698f094e0b8fbdc6465f5c2ea (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;
+    }
 }
 
 

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/cs.po            |   10 +++++++---
 po/da.po            |   10 +++++++---
 po/de.po            |   13 ++++++++-----
 po/el.po            |   10 +++++++---
 po/eo.po            |   10 +++++++---
 po/es.po            |   10 +++++++---
 po/fa.po            |   10 +++++++---
 po/fr.po            |   10 +++++++---
 po/he.po            |   10 +++++++---
 po/it.po            |   10 +++++++---
 po/lv.po            |   10 +++++++---
 po/nl.po            |   10 +++++++---
 po/pl.po            |   10 +++++++---
 po/pt_BR.po         |   10 +++++++---
 po/ro.po            |   14 ++++++++------
 po/ru.po            |   10 +++++++---
 po/sv.po            |   10 +++++++---
 po/zh_CN.po         |   10 +++++++---
 src/gsb_reconcile.c |   35 +++++++++++++++++++++--------------
 19 files changed, 149 insertions(+), 73 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list