Skip to content

Bugfix: Don't mix calloc() and operator delete

Some malloc implementations (like eg. TCMalloc) are pickier than others and require that allocators and deleters match. The std::unique_ptr<> default deleter is operator delete, which doesn't match calloc() so for ICUObjectArray memory allocated by calloc() the deleter must explicitly be specified to be free().

Merge request reports

Loading