[grisbi-cvs] [git push]Grisbi branch master updated. upstream_version_1_1_1-227-gf57e4ee
Ludovic Rousseau
noreply at sourceforge.net
Wed Nov 20 22:13:57 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, master has been updated
via f57e4eebacbf8b2b89c1819867d26fc0271d682a (commit)
from 356f5e7ef1951f5f3958586cb5acc17f50eef107 (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 f57e4eebacbf8b2b89c1819867d26fc0271d682a
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date: Wed Nov 20 22:09:19 2013 +0100
Avoid a duplicate call of g_hash_table_destroy()
After the regex_store has been destroyed we set it to NULL to avoid
another call to g_hash_table_destroy()
Fixes bug 1613 http://www.grisbi.org/bugsreports/view.php?id=1613
diff --git a/src/gsb_regex.c b/src/gsb_regex.c
index 266e29a..7795987 100644
--- a/src/gsb_regex.c
+++ b/src/gsb_regex.c
@@ -130,7 +130,10 @@ GRegex *gsb_regex_lookup ( const gchar *key )
void gsb_regex_destroy ( void )
{
if ( regex_store )
+ {
g_hash_table_destroy ( regex_store );
+ regex_store = NULL;
+ }
}
-----------------------------------------------------------------------
Summary of changes:
src/gsb_regex.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
Grisbi
More information about the cvs
mailing list