[Kamailio-Devel] SF.net SVN: openser:
henning.westerholt at 1und1.de
Mon Dec 15 18:09:50 CET 2008
On Monday 15 December 2008, Daniel-Constantin Mierla wrote:
> besides that memory leak is not that appropriate here, since lot of
> allocated memory at startup is not freed in case of error and kamailio
> does not start (like cfg file parsing and fixups) -- memory manager
> frees all of it, the allocation of name in that function is not checked
> against NULL, so if it fails, then will core dump.
> For compatibility with old/strict c compilers, variables have to be
> defined at beginning of the function (or of a block).
yes, i know. :-) I already fixed/ ported this, will commit now.
More information about the Devel