aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-07-21 02:00:44 +0800
committerDan Winship <danw@src.gnome.org>2001-07-21 02:00:44 +0800
commit47b817166c6d39e6a3c5ea3da6079ad31c28eb29 (patch)
tree97bc1ab5e6e7c151dffb004311de213bfed1a380
parent1933181237ecb2860a198d2ba7b2963ac995b553 (diff)
downloadgsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar
gsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar.gz
gsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar.bz2
gsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar.lz
gsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar.xz
gsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar.zst
gsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.zip
Use mail_msg_destroy rather than mail_msg_free, so the cancellation
* mail-mt.c (mail_msgport_replied): Use mail_msg_destroy rather than mail_msg_free, so the cancellation operation gets unregistered and doesn't leak two file descriptors. svn path=/trunk/; revision=11263
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-mt.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d944342f45..771310c08a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-20 Dan Winship <danw@ximian.com>
+
+ * mail-mt.c (mail_msgport_replied): Use mail_msg_destroy rather
+ than mail_msg_free, so the cancellation operation gets
+ unregistered and doesn't leak two file descriptors.
+
2001-07-19 Jason Leach <jleach@ximian.com>
* mail-summary.c (generate_html_summary): Update this
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 0c1900b87c..18a5c34723 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -257,7 +257,7 @@ mail_msgport_replied(GIOChannel *source, GIOCondition cond, void *d)
if (m->ops->reply_msg)
m->ops->reply_msg(m);
mail_msg_check_error(m);
- mail_msg_free(m);
+ mail_msg_destroy(m);
}
return TRUE;