Print Page | Close Window

Memory leak

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=16138
Printed Date: 11 November 2024 at 6:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Memory leak
Posted By: jimmy
Subject: Memory leak
Date Posted: 04 February 2010 at 6:34am
Hello,

In function CXTPReportControl::OnBeginDrag there is the line
CXTPReportRecords* pDragRecords = new CXTPReportRecords(TRUE);
if return value from
if (SendNotifyMessage(XTP_NM_REPORT_BEGINDRAG, (NMHDR*)&nmData) == -1)
is -1, the memory will not be free.

V13.2.1

  Jimmy




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