From c6e363467336670487c4c1726cf632790de826dc Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Sun, 25 Feb 2007 12:34:17 +0000 Subject: [PATCH] 2007-02-25 [colin] 2.7.2cvs73 * src/main.c Clearing the list is only useful to prevent a valgrind false-positive --- ChangeLog | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- src/main.c | 5 ++++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 204dc40bf..2944836dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-25 [colin] 2.7.2cvs73 + + * src/main.c + Clearing the list is only useful + to prevent a valgrind false-positive + 2007-02-25 [paul] 2.7.2cvs72 * tools/Makefile.am diff --git a/PATCHSETS b/PATCHSETS index 8aae7e91c..de5671ca3 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -2390,3 +2390,4 @@ ( cvs diff -u -r 1.115.2.138 -r 1.115.2.139 src/main.c; cvs diff -u -r 1.7.2.9 -r 1.7.2.10 src/main.h; cvs diff -u -r 1.14.2.51 -r 1.14.2.52 src/plugins/trayicon/trayicon.c; ) > 2.7.2cvs70.patchset ( cvs diff -u -r 1.60.2.82 -r 1.60.2.83 src/addressbook.c; ) > 2.7.2cvs71.patchset ( cvs diff -u -r 1.25.2.16 -r 1.25.2.17 tools/Makefile.am; cvs diff -u -r 1.30.2.16 -r 1.30.2.17 tools/README; diff -u /dev/null tools/kmail-mailbox2claws-mail.pl; cvs diff -u -r -1.1.2.3 -r -1.1.2.4 tools/maildir2claws-mail.pl; ) > 2.7.2cvs72.patchset +( cvs diff -u -r 1.115.2.139 -r 1.115.2.140 src/main.c; ) > 2.7.2cvs73.patchset diff --git a/configure.ac b/configure.ac index 90dc4cf9a..055262f39 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=7 MICRO_VERSION=2 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=72 +EXTRA_VERSION=73 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/main.c b/src/main.c index dde21c569..52505ba60 100644 --- a/src/main.c +++ b/src/main.c @@ -100,6 +100,7 @@ #include "imap-thread.h" #endif #include "stock_pixmap.h" +#include "valgrind.h" #if USE_OPENSSL # include "ssl.h" @@ -1338,7 +1339,9 @@ void app_will_exit(GtkWidget *widget, gpointer data) } sock_cleanup(); - summary_clear_list(mainwin->summaryview); + if (RUNNING_ON_VALGRIND) { + summary_clear_list(mainwin->summaryview); + } if (folderview_get_selected_item(mainwin->folderview)) folder_item_close(folderview_get_selected_item(mainwin->folderview)); gtk_main_quit(); -- 2.11.4.GIT