Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Coredump - vdr 1.3.9 at eit.c:205



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





Home | Main Index | Thread Index