Dear Sir or Madam:

I am writing a module which need to pkg_malloc() some memory, but the allocated 
memory can't be freed until the SIP message is forwarded.

I don't know where should I put the pkg_free() to free memory.

 

Will the pkg_malloc() allocated memory be freed automatically?

 

I found that there is no pkg_free() called for memory pkg_malloc()  in 
parse_to_header() of parse_to.c

 

Where and how is the memory freed?

 

Thanks!

Best wishes,

 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to