Fix memory leaks in client

This commit is contained in:
Adam Honse 2020-04-27 14:20:45 -05:00
parent d716973642
commit 2bbf66c0ee
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;
}
}