Coverity: Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking "page" suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.

We were not discarding the in-memory form of the page on error.
Coverity: Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking "vs" suggests that it may be null, but
it has already been dereferenced on all paths leading to the check.
Coverity: Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking "dirlist" suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.
Coverity: Resource leak (RESOURCE_LEAK)
22. leaked_storage: Variable "addr" going out of scope leaks the storage
it points to.
Coverity: Resource leak (RESOURCE_LEAK)
8. leaked_storage: Variable "lsm_tree" going out of scope leaks the
storage it points to.
Coverity: Resource leak (RESOURCE_LEAK)
leaked_storage: Variable "bloom" going out of scope leaks the storage
it points to.