nicowilliams/heimdal — comment on commit 6fce54a5b1f68e3fb6007bb17da5038bb7eb8489
File: base/db.c line 126
By nicowilliams:

Oh, the reason I wanted to allocate it outside the once function was to make sure that a transient alloc failure here didn't break all subsequent uses of this interface. I realize that alloc failure should typically result in process exit, but in APIs like this I'd rather not assume that.