Release RB properly

This commit is contained in:
2020-04-15 17:05:24 +02:00
parent 7552ac9c90
commit 8e61fddee1
+1 -1
View File
@@ -93,6 +93,6 @@ int main (int argc, char *argv[]) {
(char*)(&data.first->recv_packets_2), {1}, 8,
"uint64", "little");
ring_buffer.reserve(data.first);
ring_buffer.release(data.first->buffer_slot_index);
}
}