Tuesday, January 3, 2023, 2:47:45 PM, Viktor Dukhovni wrote: > On Mon, Jan 02, 2023 at 07:32:51PM -0500, Wietse Venema wrote:
>> > I was just curious what might cause that string of question marks. >> >> This is what a Postfix string looks like after its memory is freed. >> Something to look at in the train tomorrow. > Simple patch, the cache dictionary name is freed a bit too soon during > shutdown: > --- src/util/dict_cache.c > +++ src/util/dict_cache.c > @@ -659,8 +659,8 @@ void dict_cache_close(DICT_CACHE *cp) > /* > * Destroy the DICT_CACHE object. > */ - myfree(cp->>name); > dict_cache_control(cp, DICT_CACHE_CTL_INTERVAL, 0, DICT_CACHE_CTL_END); + myfree(cp->>name); > dict_close(cp->db); > if (cp->saved_curr_key) > myfree(cp->saved_curr_key); Thank you, Victor. I hope you haven't deprived Wietse of something to do on the train. :) Cheers, Phil