We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bf532a commit f30bf82Copy full SHA for f30bf82
libs/utils/src/celix_err.cc
@@ -47,7 +47,7 @@ CelixErrManager& CelixErrManager::getInstance() {
47
thread_local CelixErrManager instance;
48
return instance;
49
}
50
-CelixErrManager::CelixErrManager() {
+CelixErrManager::CelixErrManager() : err{nullptr} {
51
// guarantee true lazy allocation in all tls models to reduce per pthread memory usage
52
err = static_cast<celix_err_t*>(calloc(1, sizeof(*err)));
53
if (!err) {
0 commit comments