Re: [Sofia-sip-devel] simple memory allocation question

2010-03-17 Thread Pekka Pessi
2010/3/16 : > Just to make sure I am not doing something wrong, my home gets allocated when > my program starts, and I do not destroy it until my (long running) program > ends.  So although it would not be a true memory leak it sounds like it would > cause memory growth if I do not free it, and

Re: [Sofia-sip-devel] simple memory allocation question

2010-03-16 Thread beachdog
Thanks, Pekka. Just to make sure I am not doing something wrong, my home gets allocated when my program starts, and I do not destroy it until my (long running) program ends. So although it would not be a true memory leak it sounds like it would cause memory growth if I do not free it, and thus

Re: [Sofia-sip-devel] simple memory allocation question

2010-03-16 Thread Pekka Pessi
2010/3/15 : > Simple questionwhen I use sip_X_make( home, char *) and then attach that > header to a response message I am sending via nta, do I need to explicitly > su_free that header?  i.e. > > sip_contact_t *c1 = sip_contact_make( home, szContact1 ) ; > nta_incoming_treply( irq, SIP_300_

[Sofia-sip-devel] simple memory allocation question

2010-03-14 Thread beachdog
Simple questionwhen I use sip_X_make( home, char *) and then attach that header to a response message I am sending via nta, do I need to explicitly su_free that header? i.e. sip_contact_t *c1 = sip_contact_make( home, szContact1 ) ; nta_incoming_treply( irq, SIP_300_MULTIPLE_CHOICES, SIPTA