Fixed: use of delete[] const void*