Avi Drissman | e4622aa | 2022-09-08 20:36:06 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
Niels Möller | 03112541 | 2019-08-28 07:52:59 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "base/mac/scoped_authorizationref.h" |
| 6 | |
Avi Drissman | efca412 | 2022-01-05 23:59:36 | [diff] [blame] | 7 | namespace base::mac { |
Niels Möller | 03112541 | 2019-08-28 07:52:59 | [diff] [blame] | 8 | |
| 9 | void ScopedAuthorizationRef::FreeInternal() { |
| 10 | AuthorizationFree(authorization_, kAuthorizationFlagDestroyRights); |
| 11 | } |
| 12 | |
Avi Drissman | efca412 | 2022-01-05 23:59:36 | [diff] [blame] | 13 | } // namespace base::mac |