diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-12-09 05:52:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-12-09 05:52:37 +0000 |
commit | 5c1f34d91896e98616278ff2f3599604c74f6b66 (patch) | |
tree | 253642f882a32909eddeb61b36685756210d1688 | |
parent | c9f4ae08f1d3e465b4fdaaf3b987f55755edcd66 (diff) | |
parent | 6f309fc2466ce469c342731637773e89c8161221 (diff) | |
download | ril-5c1f34d91896e98616278ff2f3599604c74f6b66.tar.gz |
Merge "Fix mismatched allocation/deallocation"
-rwxr-xr-x | libril/ril_service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libril/ril_service.cpp b/libril/ril_service.cpp index 8009d47..1d64bb0 100755 --- a/libril/ril_service.cpp +++ b/libril/ril_service.cpp @@ -2821,7 +2821,7 @@ Return<void> RadioImpl::setCarrierInfoForImsiEncryption(int32_t serial, imsiEncryption.expirationTime = data.expirationTime; CALL_ONREQUEST(pRI->pCI->requestNumber, &imsiEncryption, sizeof(RIL_CarrierInfoForImsiEncryption), pRI, mSlotId); - delete(imsiEncryption.carrierKey); + delete[](imsiEncryption.carrierKey); return Void(); } |