mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
Fix memory leak introduced when POST support was added.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 New Issue
Block a user