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

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

parent e4704751
......@@ -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;
}
......
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