summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
91a98f4)
If we don't have permissions to open a DB4 DB we'll not even get to
open our environment. As such we should close it cleanly and fail rather
than segfaulting. As reported in Debian bug #370440
"Error opening db environment: %s (%s)",
config.db_dir,
db_strerror(ret));
"Error opening db environment: %s (%s)",
config.db_dir,
db_strerror(ret));
+ dbenv->close(dbenv, 0);
+ dbenv = NULL;