On Tue, Sep 2, 2008 at 11:21 AM,  <[EMAIL PROTECTED]> wrote:
> Hi
>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On
>>Behalf Of ext Stefano Sabatini
>>Sent: Monday, September 01, 2008 6:56 PM
>>To: sofia-sip-devel@lists.sourceforge.net
>>Subject: Re: [Sofia-sip-devel] How to free a sdp_session_t struct
>>
>>So if I understood it correctly I need to keep an home just for every
>>sdp_session_t.
>
> Well, you can use one home for multiple objects.

Well, indeed I have an home defined in the main application context.

When the application home is cleaned at the deinitialization of the
application, then the home is freed, the problem
is that when the execution is running I'd continue to keep allocating
sdp sessions in it without to be able to
free them.

For a server application meant to stay alive this could end up in a
memory exhaustion problem.

Regards.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to