aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
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 /mail/mail-mt.c
parent1933181237ecb2860a198d2ba7b2963ac995b553 (diff)
downloadgsoc2013-evolution-47b817166c6d39e6a3c5ea3da6079ad31c28eb29.tar.gz
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
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c2
1 files changed, 1 insertions, 1 deletions
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;