mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 13:40:37 -10:00
ScopedAutoSECItem is useful for: 1. Removing manual memory management. 2. Getting rid of this pattern: > UniqueSECItem item(SECITEM_AllocItem(nullptr, nullptr, 0)); While this pattern works, ScopedAutoSECItem is slightly superior in that it doesn't unnecessarily cause a SECItem to be allocated from the heap. MozReview-Commit-ID: 8DPD9gtzeru