strmbase: Fixed user-after-free (Coverity).

This commit is contained in:
Marcus Meissner 2013-03-23 11:14:13 +01:00 committed by Alexandre Julliard
parent 542fe17a05
commit 2ba014bf40

View file

@ -343,8 +343,8 @@ ULONG WINAPI TransformFilterImpl_Release(IBaseFilter * iface)
DeleteCriticalSection(&This->csReceive);
FreeMediaType(&This->pmt);
QualityControlImpl_Destroy(This->qcimpl);
CoTaskMemFree(This);
IUnknown_Release(This->seekthru_unk);
CoTaskMemFree(This);
return 0;
}