aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorKaushal Kumar <kakumar@novell.com>2005-08-17 15:35:38 +0800
committerKaushal Kumar <kaushal@src.gnome.org>2005-08-17 15:35:38 +0800
commit8124b3582fdac7425bd292d02753f359b4b581ba (patch)
tree0f5401a651fd367978d900d0ff0491cd8d420473 /mail
parente223c1a234e002bd0b770c3f01b80e90cdc761f8 (diff)
downloadgsoc2013-evolution-8124b3582fdac7425bd292d02753f359b4b581ba.tar.gz
gsoc2013-evolution-8124b3582fdac7425bd292d02753f359b4b581ba.tar.zst
gsoc2013-evolution-8124b3582fdac7425bd292d02753f359b4b581ba.zip
Add the close call for fd.
2005-08-17 Kaushal Kumar <kakumar@novell.com> * em-composer-prefs.c (url_requested): Add the close call for fd. See bug #307375. svn path=/trunk/; revision=30141
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-composer-prefs.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9428c6687e..8f08687df1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-17 Kaushal Kumar <kakumar@novell.com>
+
+ * em-composer-prefs.c (url_requested): Add the close call for fd.
+
+ See bug #307375.
+
2005-08-15 Not Zed <NotZed@Ximian.com>
** See #313440.
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index f0c4adcba4..5675ddc3b4 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -510,6 +510,8 @@ url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle)
status = GTK_HTML_STREAM_ERROR;
gtk_html_end (html, handle, status);
+ if (fd > 0)
+ close (fd);
}