projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903db66
)
Bug #628658 - imapx expunge memory leak
author
Milan Crha
<mcrha@redhat.com>
Tue, 7 Sep 2010 08:14:47 +0000
(10:14 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Tue, 7 Sep 2010 08:14:47 +0000
(10:14 +0200)
camel/providers/imapx/camel-imapx-server.c
patch
|
blob
|
history
diff --git
a/camel/providers/imapx/camel-imapx-server.c
b/camel/providers/imapx/camel-imapx-server.c
index
753b9f9
..
a25340a
100644
(file)
--- a/
camel/providers/imapx/camel-imapx-server.c
+++ b/
camel/providers/imapx/camel-imapx-server.c
@@
-1194,6
+1194,7
@@
imapx_expunge_uid_from_summary(CamelIMAPXServer *imap, gchar *uid, gboolean unso
camel_folder_changed (imap->select_folder, imap->changes);
g_slist_foreach (imap->expunged, (GFunc) g_free, NULL);
+ g_slist_free (imap->expunged);
imap->expunged = NULL;
camel_folder_change_info_clear (imap->changes);
}
@@
-1871,6
+1872,7
@@
imapx_completion(CamelIMAPXServer *imap, guchar *token, gint len, GError **error
if (imap->expunged) {
g_slist_foreach (imap->expunged, (GFunc) g_free, NULL);
+ g_slist_free (imap->expunged);
imap->expunged = NULL;
}