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