Francisco Casas (@fcasas) commented about libs/vkd3d-shader/dxil.c:
ERR("Failed to allocate aligned chunk. Unaligned access will occur.\n"); else memcpy(byte_code, dxbc_desc.byte_code, dxbc_desc.byte_code_size);
dxbc_desc.byte_code = byte_code;
Shouldn't we free the original `dxbc_desc.byte_code` before replacing it?