2009/2/27 Della Betta Filippo <filippo.dellabe...@telecomitalia.it>:
> with the following code (nua_create fails since IP is not valid on my
> machine), I spot two memory leaks of sofia-sip stack.
>
> One is due to the fact that task nua->nua_client is not deinit’ed in case of
> error, the other is due to the fact that nua default handle holds a
> soa_session_t pointer created with soa_create that is not deleted with
> soa_destroy (actually there is also sm_create that has no sm_destroy, but I
> have no code for that)
>
> Attached there is a possible patch for this (sm_destroy is missing…).

Thanks for the patch. I think the soa_destroy() should be called by
the stack deinit function. I'll try check that and apply the relevant
parts, anyways.

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to