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>
