Re: [Exim] Another small patch, please comment

Página Inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Para: michael
CC: exim-users
Assunto: Re: [Exim] Another small patch, please comment
Nico Erfurth wrote:

> It does not free memory, but it reuses it. Search the code for
> store_reset. store_reset either returns the current "stack"-pointer or
> sets it. So the memory can be reclaimed if it isn't needed anymore, and
> exim does avoid reallocationg memory all the time.


Before somebody jumps in and corrects me, I'll do it myself :)

store_get(0) will return the current stack-pointer, store_reset will
only reset it, as the name says.

Nico