|
From: | Manuel Argüelles |
Subject: | Re: [osip-dev] Newbie for osip |
Date: | Thu, 11 Dec 2014 23:14:40 -0500 |
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.
>
Hello,
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] |