Re: This patch fixes...

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Rene,

SMPP rely on the fact that tlv dict exist and I find it should be here. You can simplify your code because dict_destroy already checks for
Dict to be NULL and tlv dict is always initialized.

Alex

Am 02.11.2011 um 19:47 schrieb Rene Kluwen:

> …a memory leak in opensmppbox whilst using v3.4 tlv values in incoming messages.
>  
> Rather than using this patch, I don’t want to allocate a dict in smpp_pdu_create at all. But I am not sure about how it will affect the rest of the smpp code.
>  
> == Rene
> <tlv_memory_leak.diff>
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.