+2006-06-02 [cleroy] 2.2.0cvs75
+
+ * src/filtering.c
+ * src/folder.c
+ * src/procmsg.c
+ * src/summaryview.c
+ Fix a few leaks
+
2006-06-02 [colin] 2.2.0cvs74
* src/main.c
( diff -u /dev/null manual/xml2pdf; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/dist/pdf/Makefile.am; diff -u /dev/null manual/dtd/manual.xsl; cvs diff -u -r 1.1.2.1 -r 1.1.2.2 manual/fr/dist/pdf/Makefile.am; cvs diff -u -r 1.1.2.1 -r 1.1.2.2 manual/pl/dist/pdf/Makefile.am; ) > 2.2.0cvs72.patchset
( cvs diff -u -r 1.1.2.6 -r 1.1.2.7 manual/fr/glossary.xml; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/fr/ack.xml; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/ack.xml; ) > 2.2.0cvs73.patchset
( cvs diff -u -r 1.115.2.88 -r 1.115.2.89 src/main.c; cvs diff -u -r 1.150.2.65 -r 1.150.2.66 src/procmsg.c; cvs diff -u -r 1.17.2.29 -r 1.17.2.30 src/send_message.c; cvs diff -u -r 1.43.2.45 -r 1.43.2.46 src/toolbar.c; ) > 2.2.0cvs74.patchset
+( cvs diff -u -r 1.60.2.18 -r 1.60.2.19 src/filtering.c; cvs diff -u -r 1.213.2.95 -r 1.213.2.96 src/folder.c; cvs diff -u -r 1.150.2.66 -r 1.150.2.67 src/procmsg.c; cvs diff -u -r 1.395.2.214 -r 1.395.2.215 src/summaryview.c; ) > 2.2.0cvs75.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=74
+EXTRA_VERSION=75
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
}
if (last_item == NULL)
continue;
- debug_print("for %s\n", folder_item_get_path(last_item));
if (!is_copy && !is_move) {
if (info->is_copy)
is_copy = TRUE;
batch = g_slist_reverse(batch);
if (g_slist_length(batch)) {
MsgInfo *info = (MsgInfo *)batch->data;
- debug_print("%s messages to %s\n",
- is_copy?"copying":"moving",
- folder_item_get_path(last_item));
if (is_copy && last_item != info->folder) {
folder_item_copy_msgs(last_item, batch);
} else if (is_move && last_item != info->folder) {
/* mark message to be moved */
info->is_move = TRUE;
info->to_filter_folder = dest_folder;
- debug_print("set to move to %s\n", folder_item_get_path(dest_folder));
return TRUE;
case MATCHACTION_COPY:
/* mark message to be copied */
info->is_copy = TRUE;
info->to_filter_folder = dest_folder;
- debug_print("set to copy to %s\n", folder_item_get_path(dest_folder));
return TRUE;
case MATCHACTION_DELETE:
procmsg_msginfo_set_flags(msginfo, 0, MSG_SCANNED);
}
}
+ procmsg_msginfo_free(msginfo);
}
return msgfile;
procmsg_msginfo_set_flags(msginfo, 0, MSG_SCANNED);
}
}
+ procmsg_msginfo_free(msginfo);
}
return msgfile;
{
FolderItem *tmp = folder_item_parent(dest);
gchar * src_identifier, * dst_identifier;
- gchar * phys_srcpath, * phys_dstpath;
+ gchar * phys_srcpath, * phys_dstpath, *tmppath;
while (tmp) {
if (tmp == src) {
}
phys_srcpath = folder_item_get_path(src);
- phys_dstpath = g_strconcat(folder_item_get_path(dest),
+ tmppath = folder_item_get_path(dest);
+ phys_dstpath = g_strconcat(tmppath,
G_DIR_SEPARATOR_S,
g_path_get_basename(phys_srcpath),
NULL);
+ g_free(tmppath);
if (folder_item_parent(src) == dest || src == dest) {
g_free(src_identifier);
gboolean result;
if (g_hash_table_lookup(parentmsgs, info)) {
- debug_print("loop detected: %s%c%d\n",
- folder_item_get_path(info->folder),
- G_DIR_SEPARATOR, info->msgnum);
+ debug_print("loop detected: %d\n",
+ info->msgnum);
result = FALSE;
} else {
g_hash_table_insert(parentmsgs, info, "1");
msginfo->fromname :
_("(No From)");
} else {
+ /* this leaks */
gchar *tmp = summary_complete_address(msginfo->from);
from_text = tmp ? tmp : (msginfo->fromname ?
msginfo->fromname: