Actions
Support #1032
closedWStandradItemModel and WStandardItem dynamic allocation
Start date:
10/19/2011
Due date:
% Done:
0%
Estimated time:
Description
Hi,
I am suspecting some memory leaks in my Wt application...
Please let me know if all dynamically allocated (WStandardItem ) objects added to (WStandardItemModel) with :
(WStandardItemModel )->setItem( row, column, (WStandardItem) )
are destroyed automatically when the parent (WStandardItemModel *) is destroyed ?
Updated by Koen Deforche about 13 years ago
- Status changed from New to Resolved
Hey,
If possible, use valgrind to determine what is leaking.
WStandardItemModel does indeed take ownership of the added WStandardItems, they will be deleted together with the model.
Regards,
koen
Updated by Koen Deforche almost 13 years ago
- Status changed from Resolved to Closed
- Target version set to 3.2.0
Actions