[OpenSER-Devel] pkg_malloc and pkg_free

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Dec 10 09:24:49 UTC 2007


Hi Daniel,

if you allocate memory, you need to explicitly free it - there is no 
garbage collector like system in openser.

regards,
bogdan

Daniel Corbe wrote:
> I have a question,
>
> If I call pkg_malloc(), and don't call pkg_free, does OpenSER know to 
> free() the memory later?  And if so, when does the message get free'd 
> exactly?
>
> -Daniel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list