summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/tcp_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/tcp_connection.h')
-rw-r--r--gr-blocks/lib/tcp_connection.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-blocks/lib/tcp_connection.h b/gr-blocks/lib/tcp_connection.h
index 6eeb64e54f..f45650577b 100644
--- a/gr-blocks/lib/tcp_connection.h
+++ b/gr-blocks/lib/tcp_connection.h
@@ -53,7 +53,9 @@ namespace gr {
void start(gr::basic_block *block);
void send(pmt::pmt_t vector);
void handle_read(const boost::system::error_code& error, size_t bytes_transferred);
- void handle_write(const boost::system::error_code& error, size_t bytes_transferred) { }
+ void handle_write(char* txbuf, const boost::system::error_code& error, size_t bytes_transferred) {
+ delete[] txbuf;
+ }
};
} /* namespace blocks */