Commit d516415e authored by Eric Cano's avatar Eric Cano
Browse files

Fixed uninitialized unique_pointer.

parent eda6ae79
......@@ -95,7 +95,7 @@ void cta::tape::daemon::TapeDaemon::mainEventLoop() {
log::LogContext lc(m_log);
// Create the process manager and signal handler
ProcessManager pm(lc);
std::unique_ptr<SignalHandler> sh;
std::unique_ptr<SignalHandler> sh(new SignalHandler(pm));
pm.addHandler(std::move(sh));
// Create the drive handlers
for (auto & d: m_globalConfiguration.driveConfigs) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment