aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-prefs.c
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/em-composer-prefs.c
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/em-composer-prefs.c')
-rw-r--r--mail/em-composer-prefs.c2
1 files changed, 2 insertions, 0 deletions
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);
}