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/em-composer-prefs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/em-composer-prefs.c') 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 v1.2.3