Bug - memory leak in smsbox
"Paul Keogh" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
The function http_queue_thread() leaks memory because the structures allocated by a call to get_receiver() are not subsequently freed. Add msg_destroy (msg); octstr_destroy (req_url); http_destroy_headers (req_headers); octstr_destroy (req_body); inside the while() loop to resolve. Paul Keogh ANAM Wireless Internet Solutions http://www.anam.com +353 1 284 7555 (wired) +353 86 234 6047 (wireless) Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland