mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 07:44:47 +00:00
qcap: Fix a typo.
This commit is contained in:
parent
e907b06b87
commit
909b6c0dc0
|
@ -132,7 +132,7 @@ HRESULT WINAPI IPinImpl_QueryId(IPin * iface, LPWSTR * Id)
|
||||||
TRACE("(%p/%p)->(%p)\n", This, iface, Id);
|
TRACE("(%p/%p)->(%p)\n", This, iface, Id);
|
||||||
|
|
||||||
*Id = CoTaskMemAlloc((strlenW(This->pinInfo.achName) + 1) * sizeof(WCHAR));
|
*Id = CoTaskMemAlloc((strlenW(This->pinInfo.achName) + 1) * sizeof(WCHAR));
|
||||||
if (!Id)
|
if (!*Id)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
||||||
strcpyW(*Id, This->pinInfo.achName);
|
strcpyW(*Id, This->pinInfo.achName);
|
||||||
|
|
Loading…
Reference in a new issue