ole32: Release the data object and free the cached enum data upon OleUninitialize.

This commit is contained in:
Rob Shearman 2009-12-29 18:59:37 +00:00 committed by Alexandre Julliard
parent e470475151
commit b7d86b54d9
1 changed files with 2 additions and 0 deletions

View File

@ -1608,6 +1608,8 @@ void OLEClipbrd_UnInitialize(void)
}
IStream_Release(clipbrd->marshal_data);
if (clipbrd->src_data) IDataObject_Release(clipbrd->src_data);
HeapFree(GetProcessHeap(), 0, clipbrd->cached_enum);
HeapFree(GetProcessHeap(), 0, clipbrd);
theOleClipboard = NULL;
}