GDI object leakage in CMFCToolBarImages::SmoothResize function - by duZ3N

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 720894 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 1/25/2012 11:22:29 PM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

In CMFCToolBarImages::SmoothResize, the m_hbmImageWell is not released before assigning it a new handle (hBmpDst).
Sign in to post a comment.
Posted by Microsoft on 4/8/2012 at 7:04 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by duZ3N on 2/15/2012 at 9:10 AM
I have uploaded a demo project. Clicking OK button will resize the images twice and thus leak 2 GDI objects.
Posted by MS-Moderator07 [Feedback Moderator] on 2/7/2012 at 8:48 PM
We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by MS-Moderator07 [Feedback Moderator] on 2/7/2012 at 8:48 PM
Sorry, please ignore my previous comments, We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by MS-Moderator07 [Feedback Moderator] on 2/7/2012 at 8:47 PM
Hi, given that we have not heard back from you in these days. We will go ahead and close this Connect Issue. If you get a chance to review and provide the information requested earlier, you can go ahead and reactivate this issue.
Posted by MS-Moderator07 on 2/7/2012 at 8:45 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by MS-Moderator01 on 1/25/2012 at 11:45 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)