From 8124b3582fdac7425bd292d02753f359b4b581ba Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Wed, 17 Aug 2005 07:35:38 +0000 Subject: Add the close call for fd. 2005-08-17 Kaushal Kumar * em-composer-prefs.c (url_requested): Add the close call for fd. See bug #307375. svn path=/trunk/; revision=30141 --- mail/ChangeLog | 6 ++++++ mail/em-composer-prefs.c | 2 ++ 2 files changed, 8 insertions(+) (limited to 'mail') 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 + + * em-composer-prefs.c (url_requested): Add the close call for fd. + + See bug #307375. + 2005-08-15 Not Zed ** 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); } -- cgit