Module: wine Branch: master Commit: 909b6c0dc0bfca1db494176774a6a2f7f77a06e0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=909b6c0dc0bfca1db494176774... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Sat Jan 20 20:01:26 2007 +0000 qcap: Fix a typo. --- dlls/qcap/pin.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/qcap/pin.c b/dlls/qcap/pin.c index 7e579b6..09c3c5d 100644 --- a/dlls/qcap/pin.c +++ b/dlls/qcap/pin.c @@ -132,7 +132,7 @@ HRESULT WINAPI IPinImpl_QueryId(IPin * i TRACE("(%p/%p)->(%p)\n", This, iface, Id); *Id = CoTaskMemAlloc((strlenW(This->pinInfo.achName) + 1) * sizeof(WCHAR)); - if (!Id) + if (!*Id) return E_OUTOFMEMORY; strcpyW(*Id, This->pinInfo.achName);