msm8974-common: libril: Use libril way of freeing strings for nitz hack

Change-Id: I7addc27abb3730873799518ea2ac6ec51a280bd9
This commit is contained in:
Paul Keith 2018-06-28 19:01:51 +02:00 committed by Kevin F. Haggerty
parent 8f6082f460
commit 86e492652d

View file

@ -7023,7 +7023,7 @@ int radio::nitzTimeReceivedInd(int slotId,
}
nitzTime = convertCharPtrToHidlString(resp);
free(resp);
memsetAndFreeStrings(1, resp);
#if VDBG
RLOGD("nitzTimeReceivedInd: nitzTime %s receivedTime %" PRId64, nitzTime.c_str(),
timeReceived);