summaryrefslogtreecommitdiffstats
path: root/src/mad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mad.cpp')
-rw-r--r--src/mad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mad.cpp b/src/mad.cpp
index 107f240..b1dbb8f 100644
--- a/src/mad.cpp
+++ b/src/mad.cpp
@@ -57,7 +57,7 @@ int main() {
Common::RequestManager::get()->registerConnection(connection);
- Core::Logger *networkLogger = new Daemon::Backends::NetworkLogger(connection);
+ boost::shared_ptr<Core::Logger> networkLogger(new Daemon::Backends::NetworkLogger(connection));
Core::LogManager::get()->registerLogger(networkLogger);