Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Issue 2873027: Consistently increase the reference count when calling GetDefaultNSSKeySlot (Closed)

Created:
10 years, 5 months ago by davidben
Modified:
9 years, 6 months ago
Reviewers:
Chris Masone, agl
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Consistently increase the reference count when calling GetDefaultNSSKeySlot We're actually freeing the key slot multiple times on Chrome OS. Also documented the requirement to PK11_FreeSlot in the function declaration. We probably want to add some sort of scoped_refptr-like thing, but for now this function is only used in one place anyway. R=cmasone BUG=47587 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51091

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M base/nss_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/nss_util_internal.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
davidben
10 years, 5 months ago (2010-06-28 19:29:09 UTC) #1
davidben
Adding cmasone since he originally wrote the relevant code.
10 years, 5 months ago (2010-06-29 01:44:42 UTC) #2
Chris Masone
On 2010/06/29 01:44:42, David Benjamin wrote: > Adding cmasone since he originally wrote the relevant ...
10 years, 5 months ago (2010-06-29 02:02:48 UTC) #3
agl
10 years, 5 months ago (2010-06-29 14:21:48 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698