* src/prefs_filtering.c
Fix a crash when changes to the filtering
dialog were not added and no filter rules
are defined. Also fix a memleak.
+2005-04-13 [holger] 1.0.4cvs6
+
+ * src/prefs_filtering.c
+ Fix a crash when changes to the filtering
+ dialog were not added and no filter rules
+ are defined. Also fix a memleak.
+
2005-04-12 [paul] 1.0.4cvs5
backported from GTK2...
2005-04-12 [paul] 1.0.4cvs5
backported from GTK2...
( cvs diff -u -r 1.88 -r 1.89 src/mh.c; ) > 1.0.4cvs3.patchset
( cvs diff -u -r 1.460 -r 1.461 ChangeLog; cvs diff -u -r 1.455 -r 1.456 ChangeLog.jp; cvs diff -u -r 1.20 -r 1.21 src/send_message.c; cvs diff -u -r 1.17 -r 1.18 src/common/socket.c; ) > 1.0.4cvs4.patchset
( cvs diff -u -r 1.78 -r 1.79 src/account.c; cvs diff -u -r 1.482 -r 1.483 src/compose.c; cvs diff -u -r 1.72 -r 1.73 src/filtering.c; cvs diff -u -r 1.179 -r 1.180 src/inc.c; cvs diff -u -r 1.124 -r 1.125 src/prefs_account.c; cvs diff -u -r 1.57 -r 1.58 src/prefs_account.h; ) > 1.0.4cvs5.patchset
( cvs diff -u -r 1.88 -r 1.89 src/mh.c; ) > 1.0.4cvs3.patchset
( cvs diff -u -r 1.460 -r 1.461 ChangeLog; cvs diff -u -r 1.455 -r 1.456 ChangeLog.jp; cvs diff -u -r 1.20 -r 1.21 src/send_message.c; cvs diff -u -r 1.17 -r 1.18 src/common/socket.c; ) > 1.0.4cvs4.patchset
( cvs diff -u -r 1.78 -r 1.79 src/account.c; cvs diff -u -r 1.482 -r 1.483 src/compose.c; cvs diff -u -r 1.72 -r 1.73 src/filtering.c; cvs diff -u -r 1.179 -r 1.180 src/inc.c; cvs diff -u -r 1.124 -r 1.125 src/prefs_account.c; cvs diff -u -r 1.57 -r 1.58 src/prefs_account.h; ) > 1.0.4cvs5.patchset
+( cvs diff -u -r 1.65 -r 1.66 src/prefs_filtering.c; ) > 1.0.4cvs6.patchset
MICRO_VERSION=4
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=4
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
EXTRA_RELEASE=
if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
if (strcmp(filtering_str, str) == 0) break;
row++;
}
if (strcmp(filtering_str, str) == 0) break;
row++;
}
- if (strcmp(filtering_str, str) != 0) {
+ if (!filtering_str || strcmp(filtering_str, str) != 0) {
val = alertpanel(_("Entry not saved"),
_("The entry was not saved. Close anyway?"),
_("Yes"), _("No"), NULL);
if (G_ALERTDEFAULT != val) {
g_free(str);
val = alertpanel(_("Entry not saved"),
_("The entry was not saved. Close anyway?"),
_("Yes"), _("No"), NULL);
if (G_ALERTDEFAULT != val) {
g_free(str);
+ filteringprop_free(prop);
+ filteringprop_free(prop);
}
prefs_filtering_set_list();
prefs_matcher_write_config();
}
prefs_filtering_set_list();
prefs_matcher_write_config();