Fix memory leaks in client

This commit is contained in:
Adam Honse
2020-04-27 14:20:45 -05:00
parent c45cf2466a
commit de13ca2cff
2 changed files with 9 additions and 0 deletions

View File

@@ -215,6 +215,8 @@ void NetworkClient::ListenThread()
ProcessReply_ControllerData(header.pkt_size, data, header.pkt_dev_idx);
break;
}
delete[] data;
}
}