talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 8f0b480c77f760197b01d431bc4445cd095392d7
parent f5040a8bf8ead51774368c0023ebabdf9ad0ffff
Author: Colin Leroy <colin@colino.net>
Date:   Sun, 25 Jul 2010 07:33:11 +0000

2010-07-25 [colin]	3.7.6cvs20

	* src/common/utils.c
		Reverse free/use with more logical and safe
		use/free. Thanks to Michael Rasmussen !

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/common/utils.c | 2+-
4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2010-07-25 [colin] 3.7.6cvs20 + + * src/common/utils.c + Reverse free/use with more logical and safe + use/free. Thanks to Michael Rasmussen ! + 2010-07-24 [colin] 3.7.6cvs19 * src/gtk/quicksearch.c diff --git a/PATCHSETS b/PATCHSETS @@ -4015,3 +4015,4 @@ ( cvs diff -u -r 1.39.2.58 -r 1.39.2.59 src/mainwindow.h; ) > 3.7.6cvs17.patchset ( cvs diff -u -r 1.1.2.94 -r 1.1.2.95 src/gtk/quicksearch.c; ) > 3.7.6cvs18.patchset ( cvs diff -u -r 1.1.2.95 -r 1.1.2.96 src/gtk/quicksearch.c; ) > 3.7.6cvs19.patchset +( cvs diff -u -r 1.36.2.184 -r 1.36.2.185 src/common/utils.c; ) > 3.7.6cvs20.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=6 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=19 +EXTRA_VERSION=20 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/utils.c b/src/common/utils.c @@ -1009,8 +1009,8 @@ GList *add_history(GList *list, const gchar *str) last = g_list_last(list); if (last) { - g_free(last->data); list = g_list_remove(list, last->data); + g_free(last->data); } }