wbemprox: Fix allocation size.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49128
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2020-05-11 18:11:01 +02:00 committed by Alexandre Julliard
parent ec58bd31f7
commit 93758fc3ef
1 changed files with 1 additions and 1 deletions

View File

@ -3761,7 +3761,7 @@ static enum fill_status fill_systemenclosure( struct table *table, const struct
static WCHAR *get_pnpdeviceid( DXGI_ADAPTER_DESC *desc )
{
static const WCHAR *fmtW = L"PCI\\VEN_%04X&DEV_%04X&SUBSYS_%08X&REV_%02X\\0&DEADBEEF&0&DEAD";
static const WCHAR fmtW[] = L"PCI\\VEN_%04X&DEV_%04X&SUBSYS_%08X&REV_%02X\\0&DEADBEEF&0&DEAD";
UINT len = sizeof(fmtW) + 2;
WCHAR *ret;