Commit d881005c authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Release the stream in COM_RevokeRegisteredClassObject.

parent 4edca3cf
......@@ -1960,6 +1960,7 @@ static void COM_RevokeRegisteredClassObject(RegisteredClass *curClass)
memset(&zero, 0, sizeof(zero));
IStream_Seek(curClass->pMarshaledData, zero, STREAM_SEEK_SET, NULL);
CoReleaseMarshalData(curClass->pMarshaledData);
IStream_Release(curClass->pMarshaledData);
}
HeapFree(GetProcessHeap(), 0, curClass);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment