Fix memory leak introduced when POST support was added.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82568 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
3f10f837d1
commit
bda4fcb812
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue