aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}