quartz: Fixed crash in releasing uninitializes pAlloc and pReader.
This commit is contained in:
parent
628371021b
commit
02479df343
|
@ -1131,7 +1131,9 @@ ULONG WINAPI PullPin_Release(IPin * iface)
|
|||
{
|
||||
if (This->hThread)
|
||||
PullPin_StopProcessing(This);
|
||||
if(This->pAlloc)
|
||||
IMemAllocator_Release(This->pAlloc);
|
||||
if(This->pReader)
|
||||
IAsyncReader_Release(This->pReader);
|
||||
CloseHandle(This->hEventStateChanged);
|
||||
CoTaskMemFree(This);
|
||||
|
|
Loading…
Reference in New Issue