On Fri, Aug 29, 2008 at 5:27 PM, <[EMAIL PROTECTED]> wrote: > Hi, > >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On >>Behalf Of ext Stefano Sabatini >>Sent: Friday, August 29, 2008 6:24 PM >>To: sofia-sip-devel@lists.sourceforge.net >>Subject: [Sofia-sip-devel] How to free a sdp_session_t struct >> >>Hi all sofia-sippers, >> >>I'm looking for the best method to free an sdp_session_t struct. >> >>I see there is an sdp_session_dup() function, and there are >>sdp_printer_free() and sdp_parser_free(), so I was expecting some >>method such as sdp_session_free(). >> >>Missing that, then I wonder if its absence means something, for >>example that there is some convenient method to free an sdp_session_t. >> >>Can you give some hint? > > Free the home used for allocating the session.
Hi, and thanks for the reply. Yes that's a solution, nonetheless it looks still weird to me, to have to use an home just for that seems overkill. Also, I wonder which is the supposed way to fill an SDP from scratch. I can't see any specific function for doing that (e.g. add a connection, add a media etc.) and doing it manually is tedious. So I suppose that the supposed way to create an SDP from scratch is to write it down in its textual form *then* convert it using an sdp_parser_t, otherwise maybe I have to use some higher level function not provided in the sdp module (soa?). Am I right? 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