projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d22579
)
Fix memory leak introduced when POST support was added.
author
Doug Bailey
<dbailey@digium.com>
Mon, 17 Sep 2007 14:58:19 +0000
(14:58 +0000)
committer
Doug Bailey
<dbailey@digium.com>
Mon, 17 Sep 2007 14:58:19 +0000
(14:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82568
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/http.c
patch
|
blob
|
history
diff --git
a/main/http.c
b/main/http.c
index
1a5da9c
..
c72f35e
100644
(file)
--- a/
main/http.c
+++ b/
main/http.c
@@
-841,6
+841,9
@@
static void *httpd_helper_thread(void *data)
/* If they aren't mopped up already, clean up the cookies */
if (vars)
ast_variables_destroy(vars);
+ /* Clean up all the header information pulled as well */
+ if (headers)
+ ast_variables_destroy(headers);
if (out) {
struct timeval tv = ast_tvnow();