Re: Memory leak in tcpip_connect_nb_to_server_with_port
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <9446BEBA978945E5BB0F092E39BBAC38@drwho> |
Interesting... ip2 used to be a C-string with memory allocated from the stack. Somehow, sometime, someone changed that to Octstr. Cannot find the record of that change in Redmine. Anyway, good call. +1 Nikos ----- Original Message ----- From: Roman Shterenzon To: Kannel Devel Sent: Saturday, April 16, 2011 12:34 PM Subject: Memory leak in tcpip_connect_nb_to_server_with_port It looks like it leaks the IP string every time. Please review the proposed fix. --Roman