FIX: Memory Is Leaked in IViewObject::GetColorSet() (266715)



The information in this article applies to:

  • the operating system: Microsoft Windows NT 4.0
  • the operating system: Microsoft Windows 2000
  • the operating system: Microsoft Windows 95
  • the operating system: Microsoft Windows 98

This article was previously published under Q266715

SYMPTOMS

An OLE application may leak memory when it uses the IViewObject::GetColorSet function.

CAUSE

The IViewObject::GetColorSet function enumerates the presentation data in order to get the palette that is used by the metafile, but never calls the DeleteMetaFile function.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This problem is fixed in Service Pack 1 (SP1) of Windows 2000.

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:kbbug kbfix kbOLEApp KB266715