Potential memory leak in smppbox :: msg_to_pdu

Victor Luchitz <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello.

There seems to be a memory leak in msg_to_pdu function in smppbox.c

This line:
parts = octstr_split(msg->sms.dlr_url, octstr_imm(";"));

creates a list of octstrings which is never destroyed with a:
gwlist_destroy(parts, octstr_destroy_item);

call. Shouldn't extract_first_msgid be used there anyway?

-- 
Best regards,
 Victor Luchitz
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.