Print Page | Close Window

Got memory leak in debug mode

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=18168
Printed Date: 12 December 2024 at 8:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Got memory leak in debug mode
Posted By: tiger
Subject: Got memory leak in debug mode
Date Posted: 05 April 2011 at 9:51pm
I'm doing a very simple PopertyGrid with XTP 10.4.2, but I got a lot of memroy leak in debug mode. how to fix this issues?
below is some of my codes
CXTPPropertyGridItem *pCategoryConnection = m_GridSummary.AddCategory(_T("Test"));
pItem = new CXTPPropertyGridItem(_T("Version"), _T("1.0"));
pCategoryConnection->AddChildItem(pItem);


-----------------------------------------------------------------------
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(148) : {60751} client block at 0x052F20D8, subtype c0, 56 bytes long.
a CCmdTarget object at $052F20D8, 56 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(147) : {60750} client block at 0x052F2060, subtype c0, 60 bytes long.
a CCmdTarget object at $052F2060, 60 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60749} normal block at 0x052F1FF8, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
{60748} client block at 0x052F1EC0, subtype c0, 252 bytes long.
a CXTPPropertyGridItem object at $052F1EC0, 252 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60744} normal block at 0x052F1D90, 34 bytes long.
 Data: <   x            > 0C 00 E5 78 08 00 00 00 08 00 00 00 02 00 00 00 
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60743} normal block at 0x052F1D30, 32 bytes long.
 Data: <   x            > 0C 00 E5 78 07 00 00 00 07 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(172) : {60742} client block at 0x052F1CC0, subtype c0, 52 bytes long.
a CCmdTarget object at $052F1CC0, 52 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(148) : {60741} client block at 0x052F1C48, subtype c0, 56 bytes long.
a CCmdTarget object at $052F1C48, 56 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(147) : {60740} client block at 0x052F1BD0, subtype c0, 60 bytes long.
a CCmdTarget object at $052F1BD0, 60 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60739} normal block at 0x052F1B68, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
{60738} client block at 0x052F1A30, subtype c0, 252 bytes long.
a CXTPPropertyGridItem object at $052F1A30, 252 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60736} normal block at 0x052F19D0, 34 bytes long.
 Data: <   x            > 0C 00 E5 78 08 00 00 00 08 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(172) : {60735} client block at 0x052F1960, subtype c0, 52 bytes long.
a CCmdTarget object at $052F1960, 52 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(148) : {60734} client block at 0x052F18E8, subtype c0, 56 bytes long.
a CCmdTarget object at $052F18E8, 56 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygriditem.cpp(147) : {60733} client block at 0x052F1870, subtype c0, 60 bytes long.
a CCmdTarget object at $052F1870, 60 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60732} normal block at 0x052F1808, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygridview.cpp(364) : {60731} client block at 0x052F16D0, subtype c0, 252 bytes long.
a CXTPPropertyGridItem object at $052F16D0, 252 bytes long
{60730} normal block at 0x052F1680, 20 bytes long.
 Data: <  /   /         > 08 13 2F 05 00 16 2F 05 CD CD CD CD CD CD CD CD 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtresize.cpp(148) : {60729} normal block at 0x052F1600, 68 bytes long.
 Data: <<               > 3C 11 83 01 00 00 00 00 00 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygridview.cpp(149) : {60724} client block at 0x052F1590, subtype c0, 52 bytes long.
a CCmdTarget object at $052F1590, 52 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60723} normal block at 0x052F1528, 38 bytes long.
 Data: <   x            > 0C 00 E5 78 0A 00 00 00 0A 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\propertygrid\xtppropertygrid.cpp(272) : {60722} client block at 0x052F1388, subtype c0, 352 bytes long.
a CXTPPropertyGridView object at $052F1388, 352 bytes long
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtresize.cpp(148) : {60720} normal block at 0x052F1308, 68 bytes long.
 Data: <<               > 3C 11 83 01 00 00 00 00 01 00 00 00 01 00 00 00 
c:\source\codejock software\mfc\xtreme toolkitpro v10.4.2\source\controls\xtresize.cpp(138) : {60719} client block at 0x052F1278, subtype c0, 84 bytes long.
a CWnd object at $052F1278, 84 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60668} normal block at 0x052EF9B8, 114 bytes long.
.........



Replies:
Posted By: Oleg
Date Posted: 06 April 2011 at 2:46am
Attach minimum project that can reproduce it.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net