Fix #81723: Memory corruption in finfo_buffer() We need to use the same memory allocator throughout.