fix error of address sanitize
This commit is contained in:
parent
8831040043
commit
0a63d49852
2 changed files with 16 additions and 5 deletions
|
|
@ -32,10 +32,18 @@ stdenv.mkDerivation {
|
|||
capnpc
|
||||
which
|
||||
findutils
|
||||
libuv
|
||||
elogind
|
||||
sqlite
|
||||
hwloc
|
||||
(libuv.overrideAttrs (oldAttrs: {
|
||||
separateDebugInfo = true;
|
||||
}))
|
||||
(elogind.overrideAttrs (oldAttrs: {
|
||||
separateDebugInfo = true;
|
||||
}))
|
||||
(sqlite.overrideAttrs (oldAttrs: {
|
||||
separateDebugInfo = true;
|
||||
}))
|
||||
(hwloc.overrideAttrs (oldAttrs: {
|
||||
separateDebugInfo = true;
|
||||
}))
|
||||
linux-pam
|
||||
tinylog
|
||||
unity_test_with_color
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ bool xcecd_db_init(xcecd_db_t** db,
|
|||
XCECD_LOG(XCE_LOG_ERROR,
|
||||
"Failed to open database: %s",
|
||||
sqlite3_errmsg(*db));
|
||||
FREEUP(*db);
|
||||
if ((*db) != NULL) {
|
||||
sqlite3_close(*db);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue