summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-12-09 05:52:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-12-09 05:52:37 +0000
commit5c1f34d91896e98616278ff2f3599604c74f6b66 (patch)
tree253642f882a32909eddeb61b36685756210d1688
parentc9f4ae08f1d3e465b4fdaaf3b987f55755edcd66 (diff)
parent6f309fc2466ce469c342731637773e89c8161221 (diff)
downloadril-5c1f34d91896e98616278ff2f3599604c74f6b66.tar.gz
Merge "Fix mismatched allocation/deallocation"
-rwxr-xr-xlibril/ril_service.cpp2
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();
}