handles: correctly initialize all members

This commit is contained in:
Patrick Steinhardt 2015-04-23 10:02:57 +02:00
parent 7750e85fd1
commit bde012f3d4
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ type HandleList struct {
func NewHandleList() *HandleList {
return &HandleList{
handles: make([]interface{}, 5),
set: make(map[uintptr]bool),
}
}