Klaus Schmidinger wrote:
Should probably be if (ExtendedEventDescriptors) delete ExtendedEventDescriptors; if (ShortEventDescriptor) delete ShortEventDescriptor;'delete' is guaranteed to be "NULL-proof", so there's no need to check the pointer first.
Yes, sorry about that, its just my person habbit i guess :) kind regards Philip