Re: [Exim] Another small patch, please comment

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: michael
Υ/ο: exim-users
Αντικείμενο: 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