Page 403, 4th para
Missing 'not' from paragraph, see below:
...For example, if you create a temporary CMessage object in a function that is called many times in a program, you might assume that the objects are being destroyed at the return from the function. You’d be right about that, of course, but the free store memory is ***not*** released. Thus for each call of the function, more of the free store is occupied by memory for discarded CMessage objects.
|