From ece88b4ca3a6fd523c985416808b60acf6065044 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 19 Apr 2012 18:08:51 -0700 Subject: send: sph holdover from transport work --- host/lib/transport/super_send_packet_handler.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host') diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp index 46c98afea..8a4fce11e 100644 --- a/host/lib/transport/super_send_packet_handler.hpp +++ b/host/lib/transport/super_send_packet_handler.hpp @@ -242,6 +242,7 @@ private: //commit the samples to the zero-copy interface size_t num_bytes_total = (_header_offset_words32+if_packet_info.num_packet_words32)*sizeof(boost::uint32_t); buff->commit(num_bytes_total); + buff.reset(); //effectively a release } _next_packet_seq++; //increment sequence after commits -- cgit v1.2.3