Eliminate file descriptor leak in built in HTTP server

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2006-07-18 20:26:38 +00:00
parent 457ec51f8d
commit 566ce7ef26

1
http.c
View File

@@ -153,6 +153,7 @@ static char *static_callback(struct sockaddr_in *req, const char *uri, struct as
goto out403; goto out403;
} }
} }
close(fd);
return blob; return blob;
out404: out404: