Commit 92c277d0 authored by Michael Ott's avatar Michael Ott

Fix memory leak in SensorDataStoreImpl::truncBeforeWeek()

parent 2c84b7a8
......@@ -748,6 +748,7 @@ void SensorDataStoreImpl::truncBeforeWeek(uint16_t weekStamp)
rc = cass_future_error_code(future);
if (rc != CASS_OK) {
connection->printError(future);
cass_future_free(future);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment