diff options
author | pitel <pitel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-17 08:42:37 +0000 |
---|---|---|
committer | pitel <pitel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-17 08:42:37 +0000 |
commit | c867edcd1d0df6d700b35c680afe7c9ad8d54381 (patch) | |
tree | 35625b2c5044a60b083e4c60f092610bd8553397 /res | |
parent | dc0647a15946823e6426b3cfe49802e4d318136f (diff) |
Asterisk crashing because of double free when EWS request fails
The free is done later in code. I think ast_free() should have built in checks for double free.
(closes issue #17782)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@287270 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_calendar_ews.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_calendar_ews.c b/res/res_calendar_ews.c index 493242305..27a4bf9f6 100644 --- a/res/res_calendar_ews.c +++ b/res/res_calendar_ews.c @@ -528,7 +528,6 @@ static int send_ews_request_and_parse(struct ast_str *request, struct xml_contex if (ret != NE_OK) { /* Error handling */ ast_log(LOG_WARNING, "Unable to communicate with Exchange Web Service at '%s': %s\n", ctx->pvt->url, ne_get_error(ctx->pvt->session)); ne_request_destroy(req); - ast_free(request); ne_xml_destroy(parser); return -1; } |