aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-04-19 18:08:51 -0700
committerJosh Blum <josh@joshknows.com>2012-04-19 18:08:51 -0700
commitece88b4ca3a6fd523c985416808b60acf6065044 (patch)
tree334354980730903c6952f870aefb1c53d2b784c0 /host
parent7051b32ba7892971d10768af0857a8c0e3d4dbfb (diff)
downloaduhd-ece88b4ca3a6fd523c985416808b60acf6065044.tar.gz
uhd-ece88b4ca3a6fd523c985416808b60acf6065044.tar.bz2
uhd-ece88b4ca3a6fd523c985416808b60acf6065044.zip
send: sph holdover from transport work
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/super_send_packet_handler.hpp1
1 files changed, 1 insertions, 0 deletions
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