+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * camel-net-utils.c (camel_getnameinfo): Fix memory leak
+ * camel-folder-search.c (camel_folder_search_search): Ditto
+ * camel-digest-folder.c (digest_add_multipart): Ditto.
+ Fixes bug #335423.
+
2006-06-02 Tor Lillqvist <tml@novell.com>
* camel-file-utils.c (camel_read, camel_write, camel_read_socket)
}
info = camel_folder_summary_info_new_from_message (folder->summary, CAMEL_MIME_MESSAGE (wrapper));
+ g_free(info->uid);
info->uid = g_strdup_printf ("%s%d", preuid, i);
camel_folder_summary_add (folder->summary, info);
}
for (i=0;i<search->summary->len;i++)
if (g_hash_table_lookup(uids_hash, camel_message_info_uid(search->summary->pdata[i])))
g_ptr_array_add(search->summary_set, search->summary->pdata[i]);
+ g_hash_table_destroy(uids_hash);
} else {
summary_set = search->summary;
}
if ((result = msg->result) != 0)
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, _("Name lookup failed: %s"),
gai_strerror (result));
-
- if (host)
- *host = g_strdup(msg->host);
- if (serv)
- *serv = g_strdup(msg->serv);
+ else {
+ if (host)
+ *host = g_strdup(msg->host);
+ if (serv)
+ *serv = g_strdup(msg->serv);
+ }
g_free(msg->host);
g_free(msg->serv);
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * camel-groupwise-journal.c (update_cache): Fix memory leak.
+ Fixes bug #335423.
+
2006-06-06 Jeffrey Stedfast <fejj@novell.com>
Fixes for Novell bug #173454
camel_object_unref (cache);
info = camel_folder_summary_info_new_from_message (folder->summary, message);
+ g_free(info->uid);
info->uid = g_strdup (uid);
gw_message_info_dup_to ((CamelMessageInfoBase *) info, (CamelMessageInfoBase *) mi);
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * camel-imap4-journal.c (camel_imap4_journal_append): Fix memory leak.
+ Fixes bug #335423.
+
2006-04-21 Jeffrey Stedfast <fejj@novell.com>
* camel-imap4-store.c (connect_to_server): Set some socket options
e_dlist_addtail (&journal->queue, (EDListNode *) entry);
info = camel_folder_summary_info_new_from_message (folder->summary, message);
+ g_free(info->uid);
info->uid = g_strdup (uid);
imap4_message_info_dup_to ((CamelMessageInfoBase *) info, (CamelMessageInfoBase *) mi);
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * camel-local-summary.c (message_info_new_from_header): Fix memory leak
+ * camel-mbox-summary.c (message_info_new_from_header): Ditto.
+ Fixes bug #335423.
+
2006-03-28 Jeffrey Stedfast <fejj@novell.com>
* camel-mbox-summary.c (summary_update, mbox_summary_sync_full),
if (xev==NULL || camel_local_summary_decode_x_evolution(cls, xev, mi) == -1) {
/* to indicate it has no xev header */
mi->info.flags |= CAMEL_MESSAGE_FOLDER_FLAGGED | CAMEL_MESSAGE_FOLDER_NOXEV;
+ g_free (mi->info.uid);
mi->info.uid = camel_folder_summary_next_uid_string(s);
/* shortcut, no need to look it up in the index library */
if (add&1) {
mi->info.info.flags |= CAMEL_MESSAGE_FOLDER_FLAGGED | CAMEL_MESSAGE_FOLDER_NOXEV;
+ g_free (mi->info.info.uid);
mi->info.info.uid = camel_folder_summary_next_uid_string(s);
} else {
camel_folder_summary_set_uid(s, strtoul(camel_message_info_uid(mi), NULL, 10));
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * camel-nntp-summary.c (message_info_new_from_header): Fix memory leak.
+ Fixes bug #335423.
+
2005-12-13 Tor Lillqvist <tml@novell.com>
* camel-nntp-grouplist.c
mi = (CamelMessageInfoBase *)((CamelFolderSummaryClass *)camel_nntp_summary_parent)->message_info_new_from_header(s, h);
if (mi) {
- mi->uid = g_strdup(cns->priv->uid);
+ g_free(mi->uid);
+ mi->uid = cns->priv->uid;
cns->priv->uid = NULL;
}
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * camel-pop3-engine.c (camel_pop3_engine_finalise): Fix memory leak.
+ Fixes bug #335423.
+
2006-05-31 Jeffrey Stedfast <fejj@novell.com>
* camel-pop3-store.c (connect_to_server): Fix a few of the TLS
if (pe->stream)
camel_object_unref(pe->stream);
+
+ g_list_free(pe->auth);
+ if (pe->apop)
+ g_free(pe->apop);
}
CamelType
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * e-name-selector-dialog.c (search_changed): Fix memory leak.
+ Fixes bug #335423.
+
2006-06-02 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug 322239
category_option_menu = glade_xml_get_widget(name_selector_dialog->gui, "optionmenu-category");
category_id = gtk_option_menu_get_history (GTK_OPTION_MENU(category_option_menu));
category = g_list_nth_data (category_list, category_id);
- category_escaped = escape_sexp_string (category);
-
if (!category)
return;
+ category_escaped = escape_sexp_string (category);
text = gtk_entry_get_text (name_selector_dialog->search_entry);
text_escaped = escape_sexp_string (text);