Fixup buffer freeing

This commit is contained in:
Jason A. Donenfeld
2018-09-17 00:43:23 +02:00
parent 942abf948a
commit cf81a28dd3
3 changed files with 21 additions and 9 deletions

View File

@ -19,8 +19,7 @@ const (
DeviceRoutineNumberAdditional = 2
)
const preallocatedBuffers = 0
var preallocatedBuffers = 0
type Device struct {
isUp AtomicBool // device is (going) up