ole32: Release the data object and free the cached enum data upon OleUninitialize.
This commit is contained in:
parent
e470475151
commit
b7d86b54d9
|
@ -1608,6 +1608,8 @@ void OLEClipbrd_UnInitialize(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
IStream_Release(clipbrd->marshal_data);
|
IStream_Release(clipbrd->marshal_data);
|
||||||
|
if (clipbrd->src_data) IDataObject_Release(clipbrd->src_data);
|
||||||
|
HeapFree(GetProcessHeap(), 0, clipbrd->cached_enum);
|
||||||
HeapFree(GetProcessHeap(), 0, clipbrd);
|
HeapFree(GetProcessHeap(), 0, clipbrd);
|
||||||
theOleClipboard = NULL;
|
theOleClipboard = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue