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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.