Unmap both arrays

This commit is contained in:
Pier-Olivier Thibault 2014-07-22 15:23:56 -04:00
parent 08ca9d41c7
commit 775d4168c6

View File

@ -304,5 +304,6 @@ func Open() (err error) {
func Close() {
memlock.Lock()
syscall.Munmap(mem8)
syscall.Munmap(mem)
memlock.Unlock()
}