New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 621559 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Jan 10
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Feature



Sign in to add a comment

Create a std::unique_ptr like structure to handle objects that should be deleted by LocalFree

Project Member Reported by lwchkg@chromium.org, Jun 20 2016

Issue description

It is easy to forget to close objects that are required to be closed by LocalFree. To prevent this, we should create a smart pointer which executes LocalFree on its destruction.

We can name the smart pointer ScopedLocal<T> and put it in base/win.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jun 21 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -pkasting@chromium.org
Status: Archived (was: Untriaged)
Archiving P3s older than 1 year with no owner or component.

Sign in to add a comment