Fix memory leaks in client

This commit is contained in:
Adam Honse
2020-05-01 15:29:14 -05:00
parent c45cf2466a
commit de13ca2cff
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -215,6 +215,8 @@ void NetworkClient::ListenThread()
ProcessReply_ControllerData(header.pkt_size, data, header.pkt_dev_idx);
break;
}
delete[] data;
}
}