[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_0_9_99-8-g9144263

Pierre Biava noreply at sourceforge.net
Mon Mar 17 19:44:21 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  9144263748b430d6cb59cc11119dbd7f5ee3bf9e (commit)
       via  c71b3b4a7a155ada1cf59436614eedb34632ed2f (commit)
       via  d17b2db83aace78ac741c199789d0e01c98f9c00 (commit)
       via  f13ca5a3dd2b52cdcdbc1a76632b831b39ae16dd (commit)
       via  fcfdde4d81532912bda5ef5c9a3b605ed1960af2 (commit)
      from  1dfaf969ee50dfd20777a47262f33c73c6448523 (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;
+    }
 }
 
 

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;
+    }
 }
 
 

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          |    5 +++--
 INSTALL          |    2 +-
 Makefile.am      |    5 +----
 NEWS             |   15 +++++++++++++--
 README           |   15 +++++++--------
 configure.in     |   22 +++++++++++-----------
 grisbi.spec      |   23 +++++++++--------------
 help/Makefile.am |    7 ++++++-
 src/help.c       |   10 +++++++++-
 src/menu.c       |    6 +++---
 src/structures.h |    3 +--
 11 files changed, 64 insertions(+), 49 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list