Re: [Exim] Another small patch, please comment

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nico Erfurth
Datum:  
To: michael
CC: exim-users
Betreff: 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