|Subject:||Re: [osip-dev] Newbie for osip|
|Date:||Fri, 12 Dec 2014 14:41:18 +0530|
On Dec 11, 2014 2:18 AM, "Austin Einter" <address@hidden> wrote:
> In above callback function, If I call only osip_remove_transaction, the registration / un-registration everything goes fine, but with valgrind I can find lot of memory leaks. Also I tried to run it for longer time and find system memory foes down.
> In above callback, If I call osip_transaction_free2 + osip_remove_transaction (which is appropriate), I face crash issue.
> In above callback, If I call osip_transaction_free (osip_remove_transaction api not called), I face crash issue.
Inside the kill callback you shouldn't free your transaction, you should store it in a list and then free it in the main loop (after execute call)
Hope that helps ;)
|[Prev in Thread]||Current Thread||[Next in Thread]|