Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
In File ./example/client-cpp-example/src/SessionExample.cpp
below codes have mem-leak.
void insertRecords() { ... vector<string>* values; for (int64_t time = 0; time < 500; time++) { values = new vector<string>(); //here, mem-leak values->push_back("1"); values->push_back("2"); values->push_back("3"); deviceIds.push_back(deviceId); measurementsList.push_back(measurements); ... }