Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Memory leak in CExtBarButton class. Collapse All
Subject Author Date
Viktor Korol May 14, 2007 - 6:16 AM

In function

UINT CExtBarButton::OnTrackPopup(
    CPoint point,
    bool bSelectAny,
    bool bForceNoAnimation
CExtPopupMenuWnd * pPopup = new CExtPopupMenuWnd;

Object with pointer pPopup - was not releasing in several cases.
Please fix this issue in next version.

Technical Support May 14, 2007 - 8:47 AM

We have already fixed a similar issue. In some cases, the menu pointer became a leak when closing the ribbon bar based application where one menu is in the state of fade out animation and exit command is invoked. Please provide us with more details about how to reproduce the memory leak so we can check this issue additionally. Thank you for reporting the problem.

Viktor Korol May 14, 2007 - 9:49 AM

Way to reproduce this bug:

1. Run "RibbonBar" sample.
2. Several times click on the any command of "Paste popup-menu" with the least intervals between clicks.
3. Close sample and view memory leaks in debugger.

Technical Support May 14, 2007 - 11:41 AM

It seems the is fixed. At least, we failed to reproduce what you reported. If you have a subscription, we are ready to provide you with the update.

Viktor Korol May 14, 2007 - 11:47 AM

I use the LAST version of Prof-UIS library (2.64) and I can reproduce this issue.

Technical Support May 14, 2007 - 12:11 PM

We confirm that it can be reproduced with 2.64 but we fixed this. The version will be released in a couple of days.