CMFCButton causes memory leak - by vc6fan

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.

Sign in
to vote
ID 577870 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 7/23/2010 3:04:14 PM
Access Restriction Public


Adding an "MFC Button" control in a VC++ dialog causes memory leak upon exit.
Sign in to post a comment.
Posted by vc6fan on 8/11/2010 at 2:10 PM
I tried your suggestion and the memory leak error message went away. Thank you very much.
Posted by Microsoft on 8/10/2010 at 2:42 PM

Thanks for the report. This has been fixed in MFC for a future release of Visual Studio. In the meantime, as a workaround, make sure to call ControlBarCleanUp from your application class ExitInstance method.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 7/24/2010 at 7:08 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(