diff options
author | Matthew Maurer <mmaurer@google.com> | 2019-05-07 18:26:58 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-07 18:26:58 -0700 |
commit | 564b0eae9f31bb387d648dcfe23c008929549dc5 (patch) | |
tree | 84fa2878de60e574fea7093ef4454f04cd133658 | |
parent | cfa74f3e97ce1f50bb9142cae74162b7db618d2b (diff) | |
parent | aafa29b59ca2a9304f672a37d05ae738250124a8 (diff) | |
download | gatekeeper-564b0eae9f31bb387d648dcfe23c008929549dc5.tar.gz |
[automerger] Remove potential double free am: 9d4b635922 am: 85e5167178 am: 4dd7a24475 am: 0573a65f08 am: 93ba1512a8
am: aafa29b59c
Change-Id: I4513f512e1e926cadeab12d9ddb5e3933782c939
-rw-r--r-- | gatekeeper.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gatekeeper.cpp b/gatekeeper.cpp index cfd878f..074ba46 100644 --- a/gatekeeper.cpp +++ b/gatekeeper.cpp @@ -241,7 +241,6 @@ void GateKeeper::MintAuthToken(UniquePtr<uint8_t> *auth_token, uint32_t *length, uint32_t hash_len = (uint32_t)((uint8_t *)&token->hmac - (uint8_t *)token); ComputeSignature(token->hmac, sizeof(token->hmac), auth_token_key, key_len, reinterpret_cast<uint8_t *>(token), hash_len); - delete[] auth_token_key; } else { memset(token->hmac, 0, sizeof(token->hmac)); } |