mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 19:38:31 +00:00
d3dcompiler: Always free messages string in D3DCompile2().
This commit is contained in:
parent
5231c8c8bb
commit
929615fa13
|
@ -552,8 +552,8 @@ HRESULT WINAPI D3DCompile2(const void *data, SIZE_T data_size, const char *filen
|
|||
}
|
||||
memcpy(ID3D10Blob_GetBufferPointer(*messages_blob), messages, size);
|
||||
}
|
||||
else
|
||||
vkd3d_shader_free_messages(messages);
|
||||
|
||||
vkd3d_shader_free_messages(messages);
|
||||
}
|
||||
|
||||
if (!ret && shader_blob)
|
||||
|
|
Loading…
Reference in a new issue