quartz: Clear pin value if not connected.

This commit is contained in:
Maarten Lankhorst 2008-06-19 21:18:26 -07:00 committed by Alexandre Julliard
parent 9009e68c5b
commit e8a023f9f8
1 changed files with 3 additions and 0 deletions

View File

@ -408,7 +408,10 @@ HRESULT WINAPI IPinImpl_ConnectedTo(IPin * iface, IPin ** ppPin)
hr = S_OK;
}
else
{
hr = VFW_E_NOT_CONNECTED;
*ppPin = NULL;
}
}
LeaveCriticalSection(This->pCritSec);