aboutsummaryrefslogtreecommitdiffstats
path: root/main/http.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 13:21:38 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 13:21:38 +0000
commit7f9cece9581be2381117104c8f324b3fe303487e (patch)
treee93c79ee1b2e005f69f6e05f181dfd051c148c57 /main/http.c
parentd3feb464a89247e356c11bef10482a0b0c6b76d0 (diff)
Merged revisions 58351-58352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58351 | kpfleming | 2007-03-08 08:17:17 -0500 (Thu, 08 Mar 2007) | 2 lines fix two cases where HTTP session file descriptors would not be closed ........ r58352 | kpfleming | 2007-03-08 08:17:42 -0500 (Thu, 08 Mar 2007) | 2 lines fix a compiler warning, and overwriting 'res' value ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58353 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/http.c')
-rw-r--r--main/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/http.c b/main/http.c
index 97738b4f0..b6b2abe29 100644
--- a/main/http.c
+++ b/main/http.c
@@ -636,6 +636,7 @@ static void *httpd_helper_thread(void *data)
done:
if (ser->f)
fclose(ser->f);
+ close(ser->fd);
free(ser);
return NULL;
}