Re: Bug - memory leak in smsbox
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
Paul Keogh wrote: > > 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. fixed and commited to cvs. Thanks Paul! Stipe [email protected] ------------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [email protected] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are