Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.15.1
-
None
-
Windows 10/Linux
Description
QModbusReply has a memory leak after the executing sendReadRequest()
steps
auto *reply = _modbusClient->sendReadRequest(...) // create a dynamic object
...
reply->deleteLater() // delete object after using it
deleteLater() executing does not always delete memory or partially delete it
This memory leak is clearly visible with frequent call sendReadRequest()