rtl_tcp: delete LUT table in destructor

laforge/debian
Dimitri Stolnikov 6 years ago
parent 26f93e4687
commit a3b4e5c815
  1. 1
      lib/rtl_tcp/rtl_tcp_source_c.cc

@ -305,6 +305,7 @@ rtl_tcp_source_c::rtl_tcp_source_c(const std::string &args) :
rtl_tcp_source_c::~rtl_tcp_source_c()
{
delete [] d_LUT;
delete [] d_temp_buff;
if (d_socket != -1) {

Loading…
Cancel
Save