CCalEntry::NewL() requires as second parameter a pointer to a "global UID". The new entry takes ownership of the Uid descriptor.Whether the Uid is automatism releaseed while CCalEntry::NewL() Leave?
CleanupStack::PushL(uid); // Is that Necessary?
entry = CCalEntry::NewL(entryType, uid, CCalEntry::EMethodNone, 0);
CleanupStack::Pop(uid);

Reply With Quote


