close the handle
This commit is contained in:
parent
cd40e3a1d5
commit
d5e3616d8e
|
|
@ -70,6 +70,7 @@ func newConfig(cachePolicy int, ipVersion *xdb.Version, xdbPath string, searcher
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer handle.Close()
|
||||
|
||||
// 1, verify the xdb
|
||||
err = xdb.Verify(handle)
|
||||
|
|
|
|||
Loading…
Reference in New Issue