ole32: Release the stream in COM_RevokeRegisteredClassObject.

This commit is contained in:
Rob Shearman 2007-11-12 20:10:41 +00:00 committed by Alexandre Julliard
parent 4edca3cf4d
commit d881005c4f
1 changed files with 1 additions and 0 deletions

View File

@ -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);