shareable: Add comments

Oops, 0dcb53d290 did not make sense.
This commit is contained in:
Hajime Hoshi 2019-02-21 10:57:55 +09:00
parent 0dcb53d290
commit dbe4f27d5f

View File

@ -54,7 +54,7 @@ func (b *backend) TryAlloc(width, height int) (*packing.Node, bool) {
}
nExtended++
if n := page.Alloc(width, height); n != nil {
page.Free(n)
// The page is just for emulation, so we don't have to free it.
break
}
}