Commit ddd98124 authored by Bryant Mairs's avatar Bryant Mairs

Fix for memory leak in MAVLinkProtocol.

Found by valgrind.
parent 686d265c
......@@ -184,6 +184,7 @@ void MAVLinkProtocol::run()
while(!_should_exit) {
if (isFinished()) {
delete heartbeatTimer;
qDebug() << "MAVLINK WORKER DONE!";
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