runtime: remove use of obsolete map deletion syntax

The use of this syntax was eliminated upstream in Go 992248b2adc2,
but this particular use slipped through somehow.

From-SVN: r209506
This commit is contained in:
Ian Lance Taylor 2014-04-17 23:27:31 +00:00
parent e315e8a5b9
commit e8ad3ca026
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ func (m *mmapper) Munmap(data []byte) (err error) {
if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
return errno
}
m.active[p] = nil, false
delete(m.active, p)
return nil
}