The 'delete[]' operator should be used instead of 'delete' here: https://github.com/bitcoin/bitcoin/blob/b201c1f60020763b102d259f6346305dd668c7eb/src/util.cpp#L274 https://github.com/bitcoin/bitcoin/blob/b201c1f60020763b102d259f6346305dd668c7eb/src/util.cpp#L282