So far as correctness goes: Something you prefer, provided you are taking treatment not to access data after freeing it. The apparent most straightforward strategy (which I will not likely point out explicitly because this seems to be kinda like research :-) but it surely's Whatever you'd do if you needed to generate as small code as is possible [E