if(&esd == this) return *this;
TObject::operator=(esd);
fTracks = esd.fTracks;
- fESDVZEROfriend = esd.fESDVZEROfriend;
+
+ delete fESDVZEROfriend; fESDVZEROfriend = NULL;
+ if (!esd.fESDVZEROfriend) fESDVZEROfriend = new AliESDVZEROfriend(*esd.fESDVZEROfriend);
return *this;
}