summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <[email protected]>2015-04-23 10:02:57 +0200
committerPatrick Steinhardt <[email protected]>2015-05-22 09:02:24 +0200
commitbde012f3d478752787bab0978e0bfaf5deefa42b (patch)
tree3258390a1061eed376bcaeb17162f401d765fa9d
parent7750e85fd1ff1006a28a5e292c9bc7ce3e12b586 (diff)
handles: correctly initialize all members
-rw-r--r--handles.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/handles.go b/handles.go
index c0d1889..a862746 100644
--- a/handles.go
+++ b/handles.go
@@ -16,6 +16,7 @@ type HandleList struct {
func NewHandleList() *HandleList {
return &HandleList{
handles: make([]interface{}, 5),
+ set: make(map[uintptr]bool),
}
}