The program reports a memory leakage at shutdown:
I have 3 charts defined in the program. Now I have found when adding a new chart and rendering 3D with GDI the memory leakge increases from x3 to x4.An unexpected memory leakage has occurred. The unexpected small block leaks are:
85 - 92 bytes: TTeeGradient x 3
349 - 380 bytes: TTeeCanvas3D x 3
The sizes of unexpected leaked medium and large blocks are: 262700, 262700, 262700
Changng all charts to GDI+ removes the memory leakage, no message then
But I prefer to use GDI. How to fix?