Merge pull request #243 from benbjohnson/deref-split-root

Fix split root dereference.
master
Ben Johnson 2014-08-21 22:52:58 -06:00
commit 43a1303c15
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ func (b *Bucket) free() {
// dereference removes all references to the old mmap. // dereference removes all references to the old mmap.
func (b *Bucket) dereference() { func (b *Bucket) dereference() {
if b.rootNode != nil { if b.rootNode != nil {
b.rootNode.dereference() b.rootNode.root().dereference()
} }
for _, child := range b.buckets { for _, child := range b.buckets {