Possibly, but then F is a defined member of the TFontObj class, surely the class destructor knows enough to free all it's member variables?
If F was a pointer to a dynamically allocated array, then yes, it would create a memory leak.
Possibly, but then F is a defined member of the TFontObj class, surely the class destructor knows enough to free all it's member variables?
If F was a pointer to a dynamically allocated array, then yes, it would create a memory leak.
Bookmarks